MMMPlotSuite.contributions_over_time#
- MMMPlotSuite.contributions_over_time(var, hdi_prob=0.85)[source]#
Plot the time-series contributions for each variable in
var
.showing the median and the credible interval (default 85%). Creates one subplot per combination of non-(chain/draw/date) dimensions and places all variables on the same subplot.
- Parameters:
- Returns:
- fig
matplotlib.figure.Figure
The Figure object containing the subplots.
- axes
np.ndarray
ofmatplotlib.axes.Axes
Array of Axes objects corresponding to each subplot row.
- fig
- Raises:
ValueError
If
hdi_prob
is not between 0 and 1, instructing the user to provide a valid value.