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:
datapd.DataFrame

The sales data.

plot_total_salesbool, optional

Whether to plot the total sales or not.

axplt.Axes, optional

The matplotlib axes.

Returns:
plt.Axes

The new or modified matplotlib axes.