xarray.plot.hist

xarray.plot.hist(darray, ax=None, **kwargs)

Histogram of DataArray

Wraps matplotlib.pyplot.hist

Plots N dimensional arrays by first flattening the array.

Parameters:

darray : DataArray

Can be any dimension

ax : matplotlib axes, optional

If not passed, uses the current axis

**kwargs : optional

Additional keyword arguments to matplotlib.pyplot.hist