Axes.plot_date(ax, *args, **kwargs)¶A plot with data that contains dates.
Similar to the plot() command, except
the x or y (or both) data is considered to be dates, and the
axis is labeled accordingly.
x and/or y can be a sequence of dates represented as float days since 0001-01-01 UTC.
Note if you are using custom date tickers and formatters, it
may be necessary to set the formatters/locators after the call
to plot_date() since plot_date() will set the
default tick locator to
matplotlib.dates.AutoDateLocator (if the tick
locator is not already set to a
matplotlib.dates.DateLocator instance) and the
default tick formatter to
matplotlib.dates.AutoDateFormatter (if the tick
formatter is not already set to a
matplotlib.dates.DateFormatter instance).
| Parameters: | fmt : string
tz : [ None | timezone string |
xdate : boolean
ydate : boolean
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Returns: | lines |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Other Parameters: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
**kwargs :
.. note::
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
See also
matplotlib.datesmatplotlib.dates.date2nummatplotlib.dates.num2datematplotlib.dates.drange