From fc20ea9f802f5d1aab6cad55f14f49f5642eb413 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Thu, 16 Nov 2017 18:12:29 +0000 Subject: [PATCH] Add links to python's strftime method --- lib/matplotlib/dates.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/matplotlib/dates.py b/lib/matplotlib/dates.py index 3004719f7c72..8046cf7a3731 100644 --- a/lib/matplotlib/dates.py +++ b/lib/matplotlib/dates.py @@ -654,9 +654,10 @@ def strftime_pre_1900(self, dt, fmt=None): return cbook.unicode_safe(s1) def strftime(self, dt, fmt=None): - """Refer to documentation for datetime.strftime. + """ + Refer to documentation for :meth:`datetime.datetime.strftime` - *fmt* is a :func:`strftime` format string. + *fmt* is a :meth:`datetime.datetime.strftime` format string. Warning: For years before 1900, depending upon the current locale it is possible that the year displayed with %x might