pastas.plots.compare

compare(models, tmin=None, tmax=None, figsize=(10, 8), adjust_height=False)[source]

Visual comparison of multiple models in one figure.

Note

The models must have the same stressmodel names, otherwise the contributions will not be plotted, and parameters table will not display nicely.

Parameters
  • models (list) – list of pastas Models, works for N models, but certain things might not display nicely if the list gets too long.

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

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

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

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

Returns

Return type

matplotlib.axes