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

Skip to content

Commit d1e7037

Browse files
committed
DOC changed tabs to spaces, formatted functions to old format
1 parent fddf67e commit d1e7037

File tree

1 file changed

+23
-22
lines changed

1 file changed

+23
-22
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1408,9 +1408,9 @@ def plot(self, *args, **kwargs):
14081408
def plot_date(self, x, y, fmt='o', tz=None, xdate=True, ydate=False,
14091409
**kwargs):
14101410
"""
1411-
A plot with data that contains dates.
1412-
1413-
Similar to the func : matplotlib.pyplot.plot command, except
1411+
A plot with data that contains dates.
1412+
1413+
Similar to the :func:~matplotlib.pyplot.plot command, except
14141414
the *x* or *y* (or both) data is considered to be dates, and the
14151415
axis is labeled accordingly.
14161416
@@ -1430,10 +1430,10 @@ class : matplotlib.dates.AutoDateFormatter (if the tick
14301430
class : matplotlib.dates.DateFormatter instance).
14311431
14321432
1433-
Parameters
1434-
----------
1435-
fmt : string
1436-
The plot format string.
1433+
Parameters
1434+
----------
1435+
fmt : string
1436+
The plot format string.
14371437
14381438
tz : [ *None* | timezone string | :class:`tzinfo` instance]
14391439
The time zone to use in labeling dates. If *None*, defaults to rc
@@ -1446,27 +1446,28 @@ class : matplotlib.dates.DateFormatter instance).
14461446
If *True*, the *y*-axis will be labeled with dates.
14471447
14481448
1449-
Returns
1450-
-------
1451-
lines
1449+
Returns
1450+
-------
1451+
lines
14521452
14531453
1454-
See Also
1455-
--------
1456-
mod : matplotlib.dates for helper functions
1457-
func : matplotlib.dates.date2num
1458-
func : matplotlib.dates.num2date
1459-
func : matplotlib.dates.drange for help on creating the required floating point dates
1454+
See Also
1455+
--------
1456+
mod : matplotlib.dates for helper functions
1457+
:func:~matplotlib.dates.date2num
1458+
:func:~matplotlib.dates.num2date
1459+
:func:~matplotlib.dates.drange for help on creating the required
1460+
floating point dates
14601461
14611462
1462-
Other Parameters
1463-
----------------
1463+
Other Parameters
1464+
----------------
14641465
kwargs : class : matplotlib.lines.Line2D properties : %(Line2D)s
1465-
14661466
1467-
Examples
1468-
--------
1469-
.. plot:: mpl_examples/pylab_examples/date_demo1.py
1467+
1468+
Examples
1469+
--------
1470+
plot:: mpl_examples/pylab_examples/date_demo1.py
14701471
14711472
"""
14721473

0 commit comments

Comments
 (0)