Skip to content

Commit

Permalink
Fix pytest failure
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuang11 committed Jul 5, 2023
1 parent 11e5dcc commit 7e61554
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion geoviews/tests/plotting/mpl/test_chart.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

from geoviews import Store

gv.extension("matplotlib")
mpl_renderer = Store.renderers["matplotlib"]


Expand All @@ -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)
Expand Down

0 comments on commit 7e61554

Please sign in to comment.