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

Skip to content

Commit 92f8302

Browse files
klaragerleiNelleV
authored andcommitted
DOC changed tabs to spaces, formatted functions to old format
1 parent 0704479 commit 92f8302

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
@@ -1414,9 +1414,9 @@ def plot(self, *args, **kwargs):
14141414
def plot_date(self, x, y, fmt='o', tz=None, xdate=True, ydate=False,
14151415
**kwargs):
14161416
"""
1417-
A plot with data that contains dates.
1418-
1419-
Similar to the func : matplotlib.pyplot.plot command, except
1417+
A plot with data that contains dates.
1418+
1419+
Similar to the :func:~matplotlib.pyplot.plot command, except
14201420
the *x* or *y* (or both) data is considered to be dates, and the
14211421
axis is labeled accordingly.
14221422
@@ -1436,10 +1436,10 @@ class : matplotlib.dates.AutoDateFormatter (if the tick
14361436
class : matplotlib.dates.DateFormatter instance).
14371437
14381438
1439-
Parameters
1440-
----------
1441-
fmt : string
1442-
The plot format string.
1439+
Parameters
1440+
----------
1441+
fmt : string
1442+
The plot format string.
14431443
14441444
tz : [ *None* | timezone string | :class:`tzinfo` instance]
14451445
The time zone to use in labeling dates. If *None*, defaults to rc
@@ -1452,27 +1452,28 @@ class : matplotlib.dates.DateFormatter instance).
14521452
If *True*, the *y*-axis will be labeled with dates.
14531453
14541454
1455-
Returns
1456-
-------
1457-
lines
1455+
Returns
1456+
-------
1457+
lines
14581458
14591459
1460-
See Also
1461-
--------
1462-
mod : matplotlib.dates for helper functions
1463-
func : matplotlib.dates.date2num
1464-
func : matplotlib.dates.num2date
1465-
func : matplotlib.dates.drange for help on creating the required floating point dates
1460+
See Also
1461+
--------
1462+
mod : matplotlib.dates for helper functions
1463+
:func:~matplotlib.dates.date2num
1464+
:func:~matplotlib.dates.num2date
1465+
:func:~matplotlib.dates.drange for help on creating the required
1466+
floating point dates
14661467
14671468
1468-
Other Parameters
1469-
----------------
1469+
Other Parameters
1470+
----------------
14701471
kwargs : class : matplotlib.lines.Line2D properties : %(Line2D)s
1471-
14721472
1473-
Examples
1474-
--------
1475-
.. plot:: mpl_examples/pylab_examples/date_demo1.py
1473+
1474+
Examples
1475+
--------
1476+
plot:: mpl_examples/pylab_examples/date_demo1.py
14761477
14771478
"""
14781479

0 commit comments

Comments
 (0)