(self)
| 149 | class PlotTestCase: |
| 150 | @pytest.fixture(autouse=True) |
| 151 | def setup(self) -> Generator: |
| 152 | yield |
| 153 | # Remove all matplotlib figures |
| 154 | plt.close("all") |
| 155 | |
| 156 | def pass_in_axis(self, plotmethod, subplot_kw=None) -> None: |
| 157 | _fig, axs = plt.subplots(ncols=2, subplot_kw=subplot_kw, squeeze=False) |