aboutsummaryrefslogtreecommitdiff
path: root/metchart/plotter/horizontal.py
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2024-10-31 19:44:12 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2024-10-31 19:44:12 +0100
commit9637e0ac2d792a4af14361ba6839db8225c144fb (patch)
treed4b554ca1d749af493839fefad7c2b2c143411be /metchart/plotter/horizontal.py
parentcd69f3b04bd42005a181b5c7459de5ec7f2aa572 (diff)
downloadmeteo_toolbox-main.tar.gz
horizontal add barb plotsmain
Diffstat (limited to 'metchart/plotter/horizontal.py')
-rwxr-xr-xmetchart/plotter/horizontal.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/metchart/plotter/horizontal.py b/metchart/plotter/horizontal.py
index e481f82..de26d26 100755
--- a/metchart/plotter/horizontal.py
+++ b/metchart/plotter/horizontal.py
@@ -6,7 +6,7 @@ import xarray as xr
import numpy as np
import matplotlib.pyplot as plt
-from metpy.plots import MapPanel, PanelContainer, RasterPlot, ContourPlot
+from metpy.plots import MapPanel, PanelContainer, RasterPlot, ContourPlot, BarbPlot
from .. import misc
@@ -109,6 +109,10 @@ def _layer(data, layertype, **kwargs):
'contour': {
'obj': ContourPlot,
'defaults': {}
+ },
+ 'barbs': {
+ 'obj': BarbPlot,
+ 'defaults': {}
}
}