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

Skip to content

Commit 9d686a5

Browse files
committed
FIX
1 parent e4c7774 commit 9d686a5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/matplotlib/rcsetup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1292,9 +1292,9 @@ def _convert_validator_spec(key, conv):
12921292
"date.autoformatter.microsecond": validate_string,
12931293

12941294
# 'auto', 'concise', 'auto-noninterval'
1295-
'date.converter': ['auto', _validate_date_converter],
1295+
'date.converter': _validate_date_converter,
12961296
# for auto date locator, choose interval_multiples
1297-
'date.interval_multiples': [True, _validate_date_int_mult],
1297+
'date.interval_multiples': _validate_date_int_mult,
12981298

12991299
# legend properties
13001300
"legend.fancybox": validate_bool,

matplotlibrc.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@
446446
## See https://matplotlib.org/examples/ticks_and_spines/date_precision_and_epochs.py
447447
#date.epoch: 1970-01-01T00:00:00
448448
## 'auto', 'concise':
449-
#date.converter: 'auto'
449+
#date.converter: auto
450450
## For auto converter whether to use interval_multiples:
451451
#date.interval_multiples: True
452452

0 commit comments

Comments
 (0)