climpred.graphics.plot_ensemble_perfect_model

climpred.graphics.plot_ensemble_perfect_model(pm: climpred.classes.PerfectModelEnsemble, variable: Union[None, str] = None, ax: Optional[matplotlib.axes._axes.Axes] = None, show_members: bool = False, cmap: Optional[str] = 'tab10', x: str = 'time') matplotlib.axes._axes.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