climpred.graphics.plot_lead_timeseries_hindcast

climpred.graphics.plot_lead_timeseries_hindcast#

climpred.graphics.plot_lead_timeseries_hindcast(he: HindcastEnsemble, variable: str | None = None, ax: Axes | None = None, show_members: bool = False, cmap: str | None = 'viridis', x: str = 'time') Axes[source]#

Plot datasets from HindcastEnsemble.

Parameters:
  • he (HindcastEnsemble) – HindcastEnsemble.

  • 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 ‘viridis’.

Returns:

ax – plt.axes