diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2024-10-31 19:44:12 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2024-10-31 19:44:12 +0100 |
commit | 9637e0ac2d792a4af14361ba6839db8225c144fb (patch) | |
tree | d4b554ca1d749af493839fefad7c2b2c143411be /metchart | |
parent | cd69f3b04bd42005a181b5c7459de5ec7f2aa572 (diff) | |
download | meteo_toolbox-9637e0ac2d792a4af14361ba6839db8225c144fb.tar.gz |
horizontal add barb plotsmain
Diffstat (limited to 'metchart')
-rwxr-xr-x | metchart/plotter/horizontal.py | 6 |
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': {} } } |