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 983dfe6 commit 535941cCopy full SHA for 535941c
1 file changed
lib/matplotlib/dates.py
@@ -905,9 +905,19 @@ class AutoDateFormatter(ticker.Formatter):
905
906
def __init__(self, locator, tz=None, defaultfmt='%Y-%m-%d'):
907
"""
908
- Autoformat the date labels. The default format is the one to use
909
- if none of the values in ``self.scaled`` are greater than the unit
910
- returned by ``locator._get_unit()``.
+ Autoformat the date labels.
+
+ Parameters
911
+ ----------
912
+ locator : `.ticker.Locator`
913
+ Locator that this axis is using.
914
915
+ tz : str, optional
916
+ Passed to `.dates.date2num`.
917
918
+ defaultfmt : str
919
+ The default format to use if none of the values in ``self.scaled``
920
+ are greater than the unit returned by ``locator._get_unit()``.
921
922
self._locator = locator
923
self._tz = tz
0 commit comments