diagnostic.visualizations.plot_histogram#

plot_histogram(da: DataArray, **kwargs)[source]#

Plot a histogram of the data.

Parameters:
  • da (xr.DataArray) – The data array to plot the histogram of.

  • **kwargs (dict) – Additional keyword arguments to pass to the xarray DataArray plot method.

Returns:

ax – The axes with the plotted histogram.

Return type:

matplotlib.axes.Axes