Skip to content

Commit 242134d

Browse files
committed
DOC: revise description of AutoDateLocator
1 parent 5debbe4 commit 242134d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lib/matplotlib/dates.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,11 @@
9696
<../gallery/ticks_and_spines/date_demo_rrule.html>`_.
9797
9898
* :class:`AutoDateLocator`: On autoscale, this class picks the best
99-
:class:`MultipleDateLocator` to set the view limits and the tick
100-
locations.
99+
:class:`RRuleLocator` to set the view limits and the tick
100+
locations. If called with ``interval_multiples=True`` it will
101+
make ticks line up with sensible multiples of the tick intervals. E.g.
102+
if the interval is 4 hours, it will pick hours 0, 4, 8, etc as ticks.
103+
This behaviour is not garaunteed by default.
101104
102105
Date formatters
103106
---------------

0 commit comments

Comments
 (0)