pastas.plotting.modelplots.Plotting.results_mosaic#

Plotting.results_mosaic(tmin=None, tmax=None, stderr=False, block_or_step='step', return_warmup=False, adjust_height=True, figsize=None, layout='constrained', fig_kwargs=None)[source]#

Plot the results of the model in a mosaic plot.

Parameters
  • tmin (str or pandas.Timestamp, optional) –

  • tmax (str or pandas.Timestamp, optional) –

  • stderr (bool, optional) – If True the standard error of the parameter values are shown.

  • block_or_step (str, optional) – Plot the block- or step-response on the right. Default is ‘step’.

  • adjust_height (bool, optional) – Adjust the height of the graphs, so that the vertical scale of all the subplots on the left is equal. Default is True.

  • return_warmup (bool, optional) – Show the warmup-period. Default is False.

  • figsize (tuple, optional) – tuple of size 2 to determine the figure size in inches.

  • **kwargs (dict, optional) – Optional arguments, passed on to the matplotlib.pyplot.figure method.

  • layout (Optional[Literal['constrained', 'tight', 'compressed', 'none']]) –

  • fig_kwargs (dict[str, Any] | None) –

Return type

Dictionary with the matplotlib.axes.Axes

Examples

>>> ml.plots.results_mosaic()