arviz_plots.backend.multiple_lines

Contents

arviz_plots.backend.multiple_lines#

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

Interface to multiple line plots.

Parameters:
xarray_like of shape (n,)

Shared x-axis data.

yarray_like of shape (n, m)

Y data defining multiple lines.

targetPlotObject

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

color, alpha, width, linestyleany, 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:
multiple_lines_visualany

The backend object representing the generated lines.