From 0e0c9e0232f10bd6a0ca7fc9e6aa29f67eb8b753 Mon Sep 17 00:00:00 2001 From: Brock Date: Fri, 15 Sep 2023 10:44:28 -0700 Subject: [PATCH] comment --- pandas/plotting/_matplotlib/converter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/plotting/_matplotlib/converter.py b/pandas/plotting/_matplotlib/converter.py index b89bb46b19ccb..f4243c0c5ea57 100644 --- a/pandas/plotting/_matplotlib/converter.py +++ b/pandas/plotting/_matplotlib/converter.py @@ -670,7 +670,6 @@ def _second_finder(label_interval: int) -> None: else: info_maj[month_start] = True info_min[day_start] = True - info_fmt = info["fmt"] info_fmt[day_start] = "%d" info_fmt[month_start] = "%d\n%b" info_fmt[year_start] = "%d\n%b\n%Y" @@ -792,6 +791,7 @@ def _monthly_finder(vmin, vmax, freq: BaseOffset) -> np.ndarray: quarter_start = (dates_ % 3 == 0).nonzero() info_maj[year_start] = True # TODO: Check the following : is it really info['fmt'] ? + # 2023-09-15 this is reached in test_finder_monthly info["fmt"][quarter_start] = True info["min"] = True