set_subplot_kwargs_defaults#

pymc_marketing.plot.set_subplot_kwargs_defaults(subplot_kwargs, total_size)[source]#

Set the defaults for the subplot kwargs.

Parameters:
  • subplot_kwargs (MutableMapping[str, Any]) – The subplot kwargs to set the defaults for.

  • total_size (int) – The total size of the coordinates.

Raises:

ValueError – If both ncols and nrows are specified.