Skip to content
forked from pydata/xarray

Commit e795672

Browse files
committed
Fix tests
1 parent de48d51 commit e795672

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xarray/tests/test_plot.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1475,7 +1475,7 @@ def test_facetgrid_cbar_kwargs(self):
14751475
)
14761476

14771477
# catch contour case
1478-
if hasattr(g, "cbar"):
1478+
if g.cbar is not None:
14791479
assert get_colorbar_label(g.cbar) == "test_label"
14801480

14811481
def test_facetgrid_no_cbar_ax(self):
@@ -2183,7 +2183,7 @@ def test_quiver(self):
21832183

21842184
with raises_regex(ValueError, "hue_style"):
21852185
self.ds.isel(row=0, col=0).plot.quiver(
2186-
x="x", y="y", u="u", hue_style="discrete"
2186+
x="x", y="y", u="u", v="v", hue="mag", hue_style="discrete"
21872187
)
21882188

21892189
def test_facetgrid(self):

0 commit comments

Comments
 (0)