arviz_plots.visuals.multiple_lines#
- arviz_plots.visuals.multiple_lines(da, target, x_dim, xvalues=None, **kwargs)[source]#
Plot multiple lines together.
- Parameters:
- da
xarray.DataArray
2d DataArray with x_dim as one of its dimensions.
- target
Any
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
- da
- Returns:
Any
Object representing the generated visual