plot_series#
- plot_series(*series, labels=None, markers=None, x_label=None, y_label=None, ax=None)[source]#
Plot one or more time series.
- Parameters
- seriespd.Series or iterable of pd.Series
One or more time series
- labelslist, default = None
Names of series, will be displayed in figure legend
- markers: list, default = None
Markers of data points, if None the marker “o” is used by default. The length of the list has to match with the number of series.
- Returns
- figplt.Figure
- axplt.Axis
Examples
>>> from sktime.utils.plotting import plot_series >>> from sktime.datasets import load_airline >>> y = load_airline() >>> fig, ax = plot_series(y)