statsmodels.tsa.seasonal.DecomposeResult.plot

DecomposeResult.plot(observed=True, seasonal=True, trend=True, resid=True, weights=False)[source]

Plot estimated components

Parameters
observedbool

Include the observed series in the plot

seasonalbool

Include the seasonal component in the plot

trendbool

Include the trend component in the plot

residbool

Include the residual in the plot

weightsbool

Include the weights in the plot (if any)

Returns
matplotlib.figure.Figure

The figure instance that containing the plot.