arviz_plots.backend.hspan

Contents

arviz_plots.backend.hspan#

arviz_plots.backend.hspan(ymin, ymax, target, *, color=<unset>, alpha=<unset>, **artist_kws)[source]#

Interface to a horizontal shaded region.

Parameters:
ymin, ymaxfloat

The start and end y-values of the shaded region.

targetPlotObject

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

color, alphaany, optional

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:
hspan_visualany

The backend object representing the shaded region.