Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a8c423b

Browse files
authored
Merge pull request #23791 from meeseeksmachine/auto-backport-of-pr-23774-on-v3.6.x
Backport PR #23774 on branch v3.6.x (Correct rcParams-name in AutoDateFormatter doc-string)
2 parents 701af67 + 10fa6e4 commit a8c423b

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

lib/matplotlib/dates.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -865,13 +865,13 @@ class AutoDateFormatter(ticker.Formatter):
865865
defaults to ::
866866
867867
self.scaled = {
868-
DAYS_PER_YEAR: rcParams['date.autoformat.year'],
869-
DAYS_PER_MONTH: rcParams['date.autoformat.month'],
870-
1: rcParams['date.autoformat.day'],
871-
1 / HOURS_PER_DAY: rcParams['date.autoformat.hour'],
872-
1 / MINUTES_PER_DAY: rcParams['date.autoformat.minute'],
873-
1 / SEC_PER_DAY: rcParams['date.autoformat.second'],
874-
1 / MUSECONDS_PER_DAY: rcParams['date.autoformat.microsecond'],
868+
DAYS_PER_YEAR: rcParams['date.autoformatter.year'],
869+
DAYS_PER_MONTH: rcParams['date.autoformatter.month'],
870+
1: rcParams['date.autoformatter.day'],
871+
1 / HOURS_PER_DAY: rcParams['date.autoformatter.hour'],
872+
1 / MINUTES_PER_DAY: rcParams['date.autoformatter.minute'],
873+
1 / SEC_PER_DAY: rcParams['date.autoformatter.second'],
874+
1 / MUSECONDS_PER_DAY: rcParams['date.autoformatter.microsecond'],
875875
}
876876
877877
The formatter uses the format string corresponding to the lowest key in

0 commit comments

Comments
 (0)