(self)
| 2481 | |
| 2482 | @pytest.mark.slow |
| 2483 | def test_facetgrid_colorbar(self) -> None: |
| 2484 | a = easy_array((10, 15, 4)) |
| 2485 | d = DataArray(a, dims=["y", "x", "z"], name="foo") |
| 2486 | |
| 2487 | d.plot.imshow(x="x", y="y", col="z") |
| 2488 | assert 1 == len(find_possible_colorbars()) |
| 2489 | |
| 2490 | d.plot.imshow(x="x", y="y", col="z", add_colorbar=True) |
| 2491 | assert 1 == len(find_possible_colorbars()) |
| 2492 | |
| 2493 | d.plot.imshow(x="x", y="y", col="z", add_colorbar=False) |
| 2494 | assert 0 == len(find_possible_colorbars()) |
| 2495 | |
| 2496 | @pytest.mark.slow |
| 2497 | def test_facetgrid_polar(self) -> None: |
nothing calls this directly
no test coverage detected