df | pandas or polars DataFrame | DataFrame with columns [id_col, time_col, target_col]. Defaults to None. | None |
forecasts_df | pandas or polars DataFrame | DataFrame with columns [id_col, time_col] and models. Defaults to None. | None |
ids | list of str | Time Series to plot. If None, time series are selected randomly. Defaults to None. | None |
plot_random | bool | Select time series to plot randomly. Defaults to True. | True |
max_ids | int | Maximum number of ids to plot. Defaults to 8. | 8 |
models | list of str | Models to plot. Defaults to None. | None |
level | list of float | Prediction intervals to plot. Defaults to None. | None |
max_insample_length | int | Maximum number of train/insample observations to be plotted. Defaults to None. | None |
plot_anomalies | bool | Plot anomalies for each prediction interval. Defaults to False. | False |
engine | str | Library used to plot. ‘plotly’, ‘plotly-resampler’ or ‘matplotlib’. Defaults to ‘matplotlib’. | ‘matplotlib’ |
palette | str | Name of the matplotlib colormap to use for the plots. If None, uses the current style. Defaults to None. | None |
id_col | str | Column that identifies each serie. Defaults to ‘unique_id’. | ‘unique_id’ |
time_col | str | Column that identifies each timestep, its values can be timestamps or integers. Defaults to ‘ds’. | ‘ds’ |
target_col | str | Column that contains the target. Defaults to ‘y’. | ‘y’ |
seed | int | Seed used for the random number generator. Only used if plot_random is True. Defaults to 0. | 0 |
resampler_kwargs | dict | Keyword arguments to be passed to plotly-resampler constructor. For further custumization (“show_dash”) call the method, store the plotting object and add the extra arguments to its show_dash method. Defaults to None. | None |
ax | matplotlib axes, array of matplotlib axes or plotly Figure | Object where plots will be added. Defaults to None. | None |