arviz_plots.backend.line

Contents

arviz_plots.backend.line#

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

Interface to a line plot.

Parameters:
x, yarray_like of shape (n,)

The x and y data to be plotted as a line

targetPlotObject

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

color, alpha, width, linestyle

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

The backend object representing the generated line.