xarray.plot.hist¶
-
xarray.plot.hist(darray, figsize=None, size=None, aspect=None, ax=None, xincrease=None, yincrease=None, xscale=None, yscale=None, xticks=None, yticks=None, xlim=None, ylim=None, **kwargs)¶ Histogram of DataArray
Wraps
matplotlib.pyplot.hist()Plots N dimensional arrays by first flattening the array.
- Parameters
- darrayDataArray
Can be any dimension
- figsizetuple, optional
A tuple (width, height) of the figure in inches. Mutually exclusive with
sizeandax.- aspectscalar, optional
Aspect ratio of plot, so that
aspect * sizegives the width in inches. Only used if asizeis provided.- sizescalar, optional
If provided, create a new figure for the plot with the given size. Height (in inches) of each plot. See also:
aspect.- axmatplotlib axes object, optional
Axis on which to plot this figure. By default, use the current axis. Mutually exclusive with
sizeandfigsize.- **kwargsoptional
Additional keyword arguments to matplotlib.pyplot.hist