Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrockmendel committed Sep 15, 2023
1 parent d12bf59 commit 0e0c9e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/plotting/_matplotlib/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 0e0c9e0

Please sign in to comment.