(self)
| 2020 | assert self.imshow_called(self.darray.plot.imshow) |
| 2021 | |
| 2022 | def test_xy_pixel_centered(self) -> None: |
| 2023 | self.darray.plot.imshow(yincrease=False) |
| 2024 | assert np.allclose([-0.5, 14.5], plt.gca().get_xlim()) |
| 2025 | assert np.allclose([9.5, -0.5], plt.gca().get_ylim()) |
| 2026 | |
| 2027 | def test_default_aspect_is_auto(self) -> None: |
| 2028 | self.darray.plot.imshow() |