Skip to content

Commit 8e8b239

Browse files
committed
minor fixes. still not working.
1 parent 1833a22 commit 8e8b239

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cf_xarray/tests/test_accessor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,7 @@ def test_dataarray_plot():
447447
plt.close()
448448

449449
rv = obj.cf.plot(x="X", y="Y", col="T")
450+
rv.map_dataarray(xr.plot.contourf, x="X", y="Y", col="T")
450451
plt.close()
451452

452453
rv = obj.cf.plot.contourf(x="X", y="Y", col="T")
@@ -486,6 +487,7 @@ def test_dataarray_plot():
486487
obj = obj.copy(deep=True)
487488
obj.time.attrs.clear()
488489
rv = obj.cf.plot(x="X", y="Y", col="time")
490+
plt.close()
489491

490492

491493
@pytest.mark.parametrize("obj", datasets)

0 commit comments

Comments
 (0)