X Tutup
Skip to content

Commit 2eaec11

Browse files
committed
Correct tz types and description
1 parent 9d8fbbc commit 2eaec11

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/matplotlib/dates.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1542,8 +1542,9 @@ def __init__(self, byweekday=1, interval=1, tz=None):
15421542
interval : int, default: 1
15431543
The interval between each iteration. For example, if
15441544
``interval=2``, mark every second occurrence.
1545-
tz : str or `~datetime.tzinfo`, default: :rc:`timezone`
1546-
Ticks timezone. If a string, *tz* is passed to `dateutil.tz`.
1545+
tz : str, `~datetime.tzinfo`, or `None`, default: `None`
1546+
Ticks timezone. If a string, *tz* is passed to `dateutil.tz`. If
1547+
`None`, retrieve :rc:`timezone`.
15471548
"""
15481549
rule = rrulewrapper(DAILY, byweekday=byweekday,
15491550
interval=interval, **self.hms0d)

0 commit comments

Comments
 (0)
X Tutup