PlaceboInTime.plot#

static PlaceboInTime.plot(result, *, xlabel='Cumulative causal impact', title=None, figsize=(7, 3.5))[source]#

Plot the null distribution vs the actual cumulative effect.

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

  • xlabel (str) – X-axis label.

  • title (str | None) – Plot title. Auto-generated if not provided.

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

Return type:

tuple[plt.Figure, plt.Axes]