timeatlas.plots.time_series.prediction_plot¶
-
timeatlas.plots.time_series.
prediction_plot
(forecast: TimeSeries, observation: TimeSeries = None) → Any¶ Plotting the prediction of a forecast
Make a plot to display a time series with forecasted values and its confidence interval. If given, the observation time series can be added as an optional argument.
- Parameters
forecast – TimeSeries of the prediction
observation – TimeSeries of the historical data
- Returns
matplotlib.axes._subplots.AxesSubplot