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.
1 parent 513c320 commit 40b3ce9Copy full SHA for 40b3ce9
1 file changed
lib/matplotlib/dates.py
@@ -642,7 +642,8 @@ class AutoDateFormatter(ticker.Formatter):
642
dictionary by doing::
643
644
645
- >>> formatter = AutoDateFormatter()
+ >>> locator = AutoDateLocator()
646
+ >>> formatter = AutoDateFormatter(locator)
647
>>> formatter.scaled[1/(24.*60.)] = '%M:%S' # only show min and sec
648
649
A custom :class:`~matplotlib.ticker.FuncFormatter` can also be used.
0 commit comments