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

Sign up
Appearance settings
This repository was archived by the owner on Nov 9, 2022. It is now read-only.

Commit 8179d12

Browse files
Merge pull request matplotlib#23774 from oscargus/docfixes
Correct rcParams-name in AutoDateFormatter doc-string
2 parents efaedd8 + b17d845 commit 8179d12

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

‎lib/matplotlib/dates.py‎

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

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /