(self)
| 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"]) |
| 2090 | with pytest.raises(ValueError): |
| 2091 | arr.plot.imshow(rgb="band") |
| 2092 | |
| 2093 | def test_rgb_errors_bad_dim_sizes(self) -> None: |
| 2094 | arr = DataArray(easy_array((5, 5, 5)), dims=["y", "x", "band"]) |
nothing calls this directly
no test coverage detected