climpred.graphics.plot_ensemble_perfect_model

climpred.graphics.plot_ensemble_perfect_model#

climpred.graphics.plot_ensemble_perfect_model(pm: PerfectModelEnsemble, variable: str | None = None, ax: Axes | None = None, show_members: bool = False, cmap: str | None = 'tab10', x: str = 'time') Axes[source]#

Plot datasets from PerfectModelEnsemble.

Parameters:
  • pm (PerfectModelEnsemble) – PerfectModelEnsemble.

  • variable (str or None) – variable to plot. Defaults to the first in data_vars.

  • ax (plt.axes) – Axis to use in plotting. By default, creates a new axis.

  • show_members (bool) – whether to display all members individually. Defaults to False.

  • cmap (str) – Name of matplotlib-recognized colorbar. Defaults to ‘tab10’.

Returns:

ax – plt.axes