ExperimentDesigner.plot_adstock_ramp#

ExperimentDesigner.plot_adstock_ramp(recommendations=None, max_weeks=16, colors=None, figsize=None)[source]#

Plot adstock ramp fraction vs. experiment duration.

One line per channel showing how quickly the effect approaches its steady-state value, with uncertainty bands.

Parameters:
recommendationsExperimentRecommendations | Sequence[ExperimentRecommendation] | None

If provided, marks the durations of recommended experiments.

max_weeksint

Maximum duration to plot.

colorsdict[str, str] | None

Mapping of channel name to matplotlib color string. Falls back to C0, C1, … when None.

figsizetuple[float, float] | None

(width, height) for the figure. Defaults to (10, 4).

Returns:
tuple[Figure, Axes]