MVITS.plot_fit#

MVITS.plot_fit(variable='mu', plot_total_sales=True, ax=None)[source]#

Plot the model fit (posterior predictive) of the existing products.

Parameters:
variablestr, optional

The variable to compare. Either “mu” or “y”.

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.