File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +6
-9
lines changed
Original file line number Diff line number Diff line change @@ -578,21 +578,18 @@ def drange(dstart, dend, delta):
578
578
579
579
class DateFormatter (ticker .Formatter ):
580
580
"""
581
- Tick location is seconds since the epoch. Use a :func:`strftime`
582
- format string.
583
-
584
- Python only supports :mod:`datetime` :func:`strftime` formatting
585
- for years greater than 1900. Thanks to Andrew Dalke, Dalke
586
- Scientific Software who contributed the :func:`strftime` code
587
- below to include dates earlier than this year.
581
+ Format a tick (in seconds since the epoch) with a `strftime` format string.
588
582
"""
589
583
590
584
illegal_s = re .compile (r"((^|[^%])(%%)*%s)" )
591
585
592
586
def __init__ (self , fmt , tz = None ):
593
587
"""
594
- *fmt* is a :func:`strftime` format string; *tz* is the
595
- :class:`tzinfo` instance.
588
+ Parameters
589
+ ----------
590
+ fmt : str
591
+ `strftime` format string
592
+ tz : `tzinfo`
596
593
"""
597
594
if tz is None :
598
595
tz = _get_rc_timezone ()
You can’t perform that action at this time.
0 commit comments