- compare(models, adjust_height=False, **kwargs)#
Plot multiple Pastas models in one figure to visually compare models.
The models must have the same stressmodel names, otherwise the contributions will not be plotted, and parameters table will not display nicely.
models (list) – List of pastas Models, works for N models, but certain things might not display nicely if the list gets too long.
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 False, in which case the axes are not rescaled to include all data, so certain data might not be visible. Set to False to ensure you can see all data.
**kwargs – Kwargs are passed to the CompareModels.plot() function.
- Return type