etna.analysis.stl_plot#
- stl_plot(ts: TSDataset, period: int, segments: List[str] | None = None, columns_num: int = 2, figsize: Tuple[int, int] = (10, 10), plot_kwargs: Dict[str, Any] | None = None, stl_kwargs: Dict[str, Any] | None = None)[source]#
- Plot STL decomposition for segments. - Parameters:
- ts (TSDataset) – dataset with timeseries data 
- period (int) – length of seasonality 
- columns_num (int) – number of columns in subplots 
- figsize (Tuple[int, int]) – size of the figure per subplot with one segment in inches 
- plot_kwargs (Dict[str, Any] | None) – dictionary with parameters for plotting, - matplotlib.axes.Axes.plot()is used
- stl_kwargs (Dict[str, Any] | None) – dictionary with parameters for STL decomposition, - statsmodels.tsa.seasonal.STLis used