Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 10fa6e4

Browse filesBrowse files
timhoffmmeeseeksmachine
authored andcommitted
Backport PR #23774: Correct rcParams-name in AutoDateFormatter doc-string
1 parent 4e31967 commit 10fa6e4
Copy full SHA for 10fa6e4

File tree

Expand file treeCollapse file tree

1 file changed

+7
-7
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-7
lines changed

‎lib/matplotlib/dates.py

Copy file name to clipboardExpand all lines: lib/matplotlib/dates.py
+7-7Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.