The default behavior for adding and solving with noisemodels has changed from Pastas 1.5. Find more information here

pastas.plotting.modelcompare.CompareModels.initialize_figure#

CompareModels.initialize_figure(mosaic=None, cmap='tab10', return_ax=False, **fig_kwargs)[source]#

initialize a custom figure based on a mosaic.

Parameters
  • mosaic (list, optional) – subplot mosaic, by default None which uses the default mosaic.

  • figsize (tuple, optional) – figure size, by default (10, 8).

  • cmap (str, optional) – colormap, by default “tab10”.

  • return_ax (bool) –

Return type

None