arviz_plots.visuals.multiple_lines

Contents

arviz_plots.visuals.multiple_lines#

arviz_plots.visuals.multiple_lines(da, target, x_dim, xvalues=None, **kwargs)[source]#

Plot multiple lines together.

Parameters:
daxarray.DataArray

2d DataArray with x_dim as one of its dimensions.

targetAny

Object representing the target plot

x_dimhashable

Dimension of da to be encoded along the x axis of the plot.

xvaluesarray_like, optional

Specific values for the positions of the data along the x axis. Defaults to da.coords[x_dim].values

**kwargs

Passed to the backend function multiple_lines

Returns:
Any

Object representing the generated visual