From 7e615541c46dc39556d4344a57047d95bbde390a Mon Sep 17 00:00:00 2001 From: Andrew Huang Date: Wed, 5 Jul 2023 15:27:53 -0400 Subject: [PATCH] Fix pytest failure --- geoviews/tests/plotting/mpl/test_chart.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/geoviews/tests/plotting/mpl/test_chart.py b/geoviews/tests/plotting/mpl/test_chart.py index 9142179c..ed3d11a1 100644 --- a/geoviews/tests/plotting/mpl/test_chart.py +++ b/geoviews/tests/plotting/mpl/test_chart.py @@ -9,6 +9,7 @@ from geoviews import Store +gv.extension("matplotlib") mpl_renderer = Store.renderers["matplotlib"] @@ -26,7 +27,7 @@ def test_windbarbs(self): fig = gv.render(gv_barbs) mpl_barbs = fig.axes[0].get_children()[0] np.testing.assert_almost_equal(mpl_barbs.u.data, U.T.flatten()) - np.testing.assert_almost_equal(mpl_barbs.v.data, V.flatten()) + np.testing.assert_almost_equal(mpl_barbs.v.data, V.T.flatten()) def test_windbarbs_dataset(self): x = np.linspace(-1, 1, 4)