plotting._matplotlib.boxplot import ( BoxPlot, Expand Down Expand Up @@ -45,7 +41,7 @@ if TYPE_CHECKING: from pandas.plotting._matplotlib.core import MPLPlot PLOT_CLASSES: Dict[str, Type[MPLPlot]] = { PLOT_CLASSES: dict[str, type[MPLPlot]] = { "line": LinePlot, "bar": BarPlot...
xaxis.get_major_locator() assert set(locator.maxticks.values()) == {n} @pytest.mark.skipif( _version_predates(mpl, "3.3.0"), reason="Test requires new matplotlib date epoch." ) def test_label_formatter(self, t): formatter = mpl.dates.DateFormatter("%Y") @@ -714,7 +706,7 @@...