plot_curve#
- pymc_marketing.mmm.plot.plot_curve(curve, non_grid_names, subplot_kwargs=None, sample_kwargs=None, hdi_kwargs=None)[source]#
Plot HDI with samples of the curve across coords.
- Parameters:
- curve
xr.DataArray Curve to plot
- non_grid_names
set[str] The names to exclude from the grid. HDI and samples both have defaults of hdi and chain, draw, respectively
- subplot_kwargs
dict, optional Addtional kwargs to while creating the fig and axes
- sample_kwargs
dict, optional Kwargs for the
plot_curve()function- hdi_kwargs
dict, optional Kwargs for the
plot_hdi()function
- curve
- Returns:
tuple[plt.Figure,npt.NDArray[plt.Axes]]Figure and the axes