statsmodels.tsa.seasonal.DecomposeResult.plot#

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

Plot estimated components

Parameters:
observedbool, optional

Include the observed series in the plot

seasonalbool, optional

Include the seasonal component in the plot

trendbool, optional

Include the trend component in the plot

residbool, optional

Include the residual in the plot

weightsbool, optional

Include the weights in the plot (if any)

Returns:
matplotlib.figure.Figure

The figure instance containing the plot.