arviz_plots.backend.vspan

Contents

arviz_plots.backend.vspan#

arviz_plots.backend.vspan(xmin, xmax, target, *, color=<unset>, alpha=<unset>, **artist_kws)[source]#

Interface to a vertical shaded region.

Parameters:
xmin, xmaxfloat

The start and end x-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:
vspan_visualany

The backend object representing the shaded region.