plot_samples#
- pymc_marketing.plot.plot_samples(curve, non_grid_names, n=10, rng=None, axes=None, subplot_kwargs=None, plot_kwargs=None, same_axes=False, colors=None, legend=False, sel_to_string=None, color_dim=None)[source]#
Plot n samples of the curve across coords.
- Parameters:
curve (
DataArray) – Curve to plotnon_grid_names (
str|set[str]) – The names to exclude from the grid. chain and draw are excluded automaticallyn (
int) – Number of samples to plotsubplot_kwargs (
dict[str,Any] |None) – Additional kwargs to while creating the fig and axesplot_kwargs (
dict[str,Any] |None) – Kwargs for the plot functionsame_axes (
bool) – All of the plots in the same axis
- Return type:
tuple[plt.Figure,npt.NDArray[plt.Axes]]- Returns:
Figure and the axes