(self)
| 1538 | self.plotfunc(da, x="a", y="y") |
| 1539 | |
| 1540 | def test_default_title(self) -> None: |
| 1541 | a = DataArray(easy_array((4, 3, 2)), dims=["a", "b", "c"]) |
| 1542 | a.coords["c"] = [0, 1] |
| 1543 | a.coords["d"] = "foo" |
| 1544 | self.plotfunc(a.isel(c=1)) |
| 1545 | title = plt.gca().get_title() |
| 1546 | assert title in {"c = 1, d = foo", "d = foo, c = 1"} |
| 1547 | |
| 1548 | def test_colorbar_default_label(self) -> None: |
| 1549 | self.plotmethod(add_colorbar=True) |
nothing calls this directly
no test coverage detected