Skip to content

AMMM Core Mixins: Plotting Scenario (`plotting_scenario.py`)

This module provides the ScenarioPlottingMixin class, designed to be inherited by Marketing Mix Model (MMM) classes in AMMM. It offers methods for visualising the results of budget optimisation scenarios and plotting the direct response curves for marketing channels based on the fitted model.

.. automodule:: core.mixins.plotting_scenario
:members:
:undoc-members:
:show-inheritance:

(Private helper methods _plot_scenario and _plot_response_curve_fit are used internally to handle the plotting logic for individual scenarios/bars and the fitted response curves, respectively.)