plot_series(*series, labels=None, markers=None, colors=None, title=None, x_label=None, y_label=None, ax=None, pred_interval=None)[source]#

Plot one or more time series.

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.

colors: list, default = None

The colors to use for plotting each series. Must contain one color per series

title: str, default = None

The text to use as the figure’s suptitle

pred_interval: pd.DataFrame, default = None

Output of forecaster.predict_interval(). Contains columns for lower and upper boundaries of confidence interval.



>>> from sktime.utils.plotting import plot_series
>>> from sktime.datasets import load_airline
>>> y = load_airline()
>>> fig, ax = plot_series(y)