(self)
| 2078 | ).plot.imshow() |
| 2079 | |
| 2080 | def test_warns_ambiguous_dim(self) -> None: |
| 2081 | arr = DataArray(easy_array((3, 3, 3)), dims=["y", "x", "band"]) |
| 2082 | with pytest.warns(UserWarning): |
| 2083 | arr.plot.imshow() |
| 2084 | # but doesn't warn if dimensions specified |
| 2085 | arr.plot.imshow(rgb="band") |
| 2086 | arr.plot.imshow(x="x", y="y") |
| 2087 | |
| 2088 | def test_rgb_errors_too_many_dims(self) -> None: |
| 2089 | arr = DataArray(easy_array((3, 3, 3, 3)), dims=["y", "x", "z", "band"]) |
nothing calls this directly
no test coverage detected