PlaceboInSpace.plot#

static PlaceboInSpace.plot(result, *, baseline_stats=None, treated_label='treated', figsize=None)[source]#

Forest plot of placebo effects with the actual treated unit highlighted.

Parameters:
  • result (CheckResult) – The CheckResult returned by run().

  • baseline_stats (Any | None) – The original experiment’s effect_summary(). When provided the actual treated unit is appended and highlighted.

  • treated_label (str) – Label for the actual treated unit row.

  • figsize (tuple[float, float] | None) – Passed to matplotlib.

Return type:

tuple[plt.Figure, plt.Axes]