arviz_plots.backend.hist

Contents

arviz_plots.backend.hist#

arviz_plots.backend.hist(y, l_e, r_e, target, *, bottom=0, color=<unset>, facecolor=<unset>, edgecolor=<unset>, alpha=<unset>, **artist_kws)[source]#

Interface to a histogram bar plot.

Parameters:
yarray_like of shape (n,)

Heights of the histogram bars corresponding to each bin.

l_e, r_earray_like of shape (n,)

Left and right edges of the histogram bins.

targetPlotObject

The backend object representing a plot where this visual should be added.

bottomfloat, default 0

Baseline from which the bars are drawn.

color, facecolor, edgecolor, alphaany

Properties of the generated visual. If needed, see Keyword arguments for more details.

**artist_kws

Passed to the backend plotting function of the respective backend:

Returns:
hist_visualany

The backend object representing the histogram bars.