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

Skip to content

Commit 6d82ceb

Browse files
committed
Remove comment re: validation of datetime format strings.
If anything the validation should go on the DateFormatter's side (so that things work even when not using the rcparams), and "valid datetime format string" is rather fuzzy anyways given that strftime just passes unsupported format codes through.
1 parent 5698325 commit 6d82ceb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/matplotlib/rcsetup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1252,7 +1252,6 @@ def _convert_validator_spec(key, conv):
12521252
"scatter.edgecolors": validate_string,
12531253

12541254
"date.epoch": _validate_date,
1255-
# TODO validate that these are valid datetime format strings
12561255
"date.autoformatter.year": validate_string,
12571256
"date.autoformatter.month": validate_string,
12581257
"date.autoformatter.day": validate_string,

0 commit comments

Comments
 (0)