Skip to content
14 changes: 10 additions & 4 deletions pymc_marketing/mmm/fourier.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@
--------
Use yearly fourier seasonality for custom Marketing Mix Model.
.. code-block:: python
.. plot::
:context: close-figs
:nofigs:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot undo this change, we do not need this

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted in commit 3ed3567. The setup code block is now back to code-block:: python.

import pandas as pd
import pymc as pm
Expand All @@ -70,7 +72,8 @@
Plot the prior fourier seasonality trend.
.. code-block:: python
.. plot::
:context: close-figs
import matplotlib.pyplot as plt
Expand All @@ -91,7 +94,9 @@
Even make it hierarchical...
.. code-block:: python
.. plot::
:context: close-figs
:nofigs:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this change as we do not need it @copilot

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted in commit 3ed3567. The hierarchical setup code block is now back to code-block:: python.

from pymc_marketing.mmm import YearlyFourier
from pymc_extras.prior import Prior
Expand All @@ -107,7 +112,8 @@
All the plotting will still work! Just pass any coords.
.. code-block:: python
.. plot::
:context: close-figs
import matplotlib.pyplot as plt
Expand Down
Loading