plot_product#

pymc_marketing.customer_choice.mv_its.plot_product(data, plot_total_sales=True, ax=None)[source]#

Plot the sales of a single product.

Parameters:
  • data (DataFrame) – The sales data.

  • plot_total_sales (bool) – Whether to plot the total sales or not.

  • ax (Axes | None) – The matplotlib axes.

Return type:

plt.Axes

Returns:

The new or modified matplotlib axes.