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

Skip to content

Commit b17d845

Browse files
committed
Correct rcParams-name
1 parent 071ef33 commit b17d845

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)