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.
- target
PlotObject The backend object representing a plot where this visual should be added.
- bottom
float, default 0 Baseline from which the bars are drawn.
- color, facecolor, edgecolor, alpha
any 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:
- yarray_like of
- Returns:
- hist_visual
any The backend object representing the histogram bars.
- hist_visual