InterruptedTimeSeries.plot#
- InterruptedTimeSeries.plot(round_to=None, **kwargs)[source]#
Plot the interrupted time series analysis results.
Creates a unified plot that works for both Bayesian (PyMC) and OLS (sklearn) models, automatically detecting the model type and adjusting the visualization accordingly.
- Parameters:
round_to (int, optional) – Number of decimal places to round displayed values. Defaults to 2. Use None to return raw numbers.
**kwargs – Additional keyword arguments passed to matplotlib plotting functions
- Returns:
Matplotlib figure and list of axes objects
- Return type:
tuple[plt.Figure, List[plt.Axes]]