climpred.classes.PredictionEnsemble.plot

PredictionEnsemble.plot(variable=None, ax=None, show_members=False, cmap=None)[source]

Plot datasets from PredictionEnsemble.

Parameters
  • variable (str or None) – variable to show. Defaults to 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 jet for HindcastEnsemble and tab10 for PerfectModelEnsemble.

Returns

plt.axes

Return type

ax