arviz_plots.backend.hline#
- arviz_plots.backend.hline(y, target, *, color=<unset>, alpha=<unset>, width=<unset>, linestyle=<unset>, **artist_kws)[source]#
Interface to a horizontal reference line.
- Parameters:
- y
floator array_like Y position(s) where the horizontal line(s) should be drawn.
- target
PlotObject The backend object representing a plot where this visual should be added.
- color, alpha, width, linestyle
any, 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.
- y
- Returns:
- hline_visual
any The backend object representing the horizontal line.
- hline_visual