arviz_plots.backend.step

Contents

arviz_plots.backend.step#

arviz_plots.backend.step(x, y, target, *, color=<unset>, alpha=<unset>, width=<unset>, linestyle=<unset>, step_mode=<unset>, **artist_kws)[source]#

Interface to a step line plot.

Parameters:
x, yarray_like of shape (n,)

Data defining the step line.

targetPlotObject

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

color, alpha, width, linestyleany

Properties of the generated visual.

step_modeany, optional

Defines how the step transitions are drawn (e.g. pre, post, mid). Interpretation depends on the plotting backend.

**artist_kws

Passed to the backend plotting function of the respective backend.

Returns:
step_visualany

The backend object representing the generated step line.