etna.analysis.prediction_actual_scatter_plot#

prediction_actual_scatter_plot(forecast_df: DataFrame, ts: TSDataset, segments: List[str] | None = None, columns_num: int = 2, figsize: Tuple[int, int] = (10, 5))[source]#

Plot scatter plot with forecasted/actual values for segments.

Parameters:
  • forecast_df (DataFrame) – forecasted dataframe with timeseries data

  • ts (TSDataset) – dataframe of timeseries that was used for backtest

  • segments (List[str] | None) – segments to plot

  • columns_num (int) – number of columns in subplots

  • figsize (Tuple[int, int]) – size of the figure per subplot with one segment in inches