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:
- recommendations
ExperimentRecommendations|Sequence[ExperimentRecommendation] |None If provided, marks the durations of recommended experiments.
- max_weeks
int Maximum duration to plot.
- colors
dict[str,str] |None Mapping of channel name to matplotlib color string. Falls back to
C0,C1, … whenNone.- figsize
tuple[float,float] |None (width, height)for the figure. Defaults to(10, 4).
- recommendations
- Returns:
tuple[Figure,Axes]