From 9637e0ac2d792a4af14361ba6839db8225c144fb Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Thu, 31 Oct 2024 19:44:12 +0100 Subject: horizontal add barb plots --- metchart/plotter/horizontal.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'metchart/plotter') 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': {} } } -- cgit v1.2.3