Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3b5795c

Browse files
authored
Merge pull request #9803 from dstansby/strftime-link
Add links to python's strftime method
2 parents c7cc1b5 + fc20ea9 commit 3b5795c

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
@@ -654,9 +654,10 @@ def strftime_pre_1900(self, dt, fmt=None):
654654
return cbook.unicode_safe(s1)
655655

656656
def strftime(self, dt, fmt=None):
657-
"""Refer to documentation for datetime.strftime.
657+
"""
658+
Refer to documentation for :meth:`datetime.datetime.strftime`
658659
659-
*fmt* is a :func:`strftime` format string.
660+
*fmt* is a :meth:`datetime.datetime.strftime` format string.
660661
661662
Warning: For years before 1900, depending upon the current
662663
locale it is possible that the year displayed with %x might

0 commit comments

Comments
 (0)