Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 169a9f7 + 5c4a79b commit ba89a16Copy full SHA for ba89a16
1 file changed
lib/matplotlib/dates.py
@@ -836,7 +836,7 @@ def __init__(self, locator, tz=None, formats=None, offset_formats=None,
836
# like 1 Jan can just be labled "Jan". 02:02:00 can
837
# just be labeled 02:02.
838
if zero_formats:
839
- if len(formats) != 6:
+ if len(zero_formats) != 6:
840
raise ValueError('zero_formats argument must be a list of '
841
'6 format strings (or None)')
842
self.zero_formats = zero_formats
0 commit comments