(self)
| 1402 | assert isinstance(ax.xaxis.get_major_formatter(), mdates.ConciseDateFormatter) |
| 1403 | |
| 1404 | def test_plot_nans(self) -> None: |
| 1405 | x1 = self.darray[:5] |
| 1406 | x2 = self.darray.copy() |
| 1407 | x2[5:] = np.nan |
| 1408 | |
| 1409 | clim1 = self.plotfunc(x1).get_clim() |
| 1410 | clim2 = self.plotfunc(x2).get_clim() |
| 1411 | assert clim1 == clim2 |
| 1412 | |
| 1413 | @pytest.mark.filterwarnings("ignore::UserWarning") |
| 1414 | @pytest.mark.filterwarnings("ignore:invalid value encountered") |