PlaceboInTime.plot_folds#

static PlaceboInTime.plot_folds(results, *, title='Historical placebo differences', figsize=(7.0, 6.0))[source]#

Plot recorded average differences and HDIs for matching historical windows.

Parameters:
  • results (Mapping[str, CheckResult]) – Labelled descriptive results returned by run(). Requested schedules and window geometry must match, including failed fits.

  • title (str) – Figure title.

  • figsize (tuple[float, float]) – Figure size in inches.

Returns:

Shared-axis comparison with a zero reference and failed-fold annotations.

Return type:

matplotlib.figure.Figure