arviz_plots.backend.text#
- arviz_plots.backend.text(x, y, string, target, *, size=<unset>, alpha=<unset>, color=<unset>, vertical_align=<unset>, horizontal_align=<unset>, **artist_kws)[source]#
Interface to a text annotation inside a plot.
- Parameters:
- x, y
floator array_like Coordinates where the text should be placed.
- string
str The text content to display.
- target
PlotObject The backend object representing a plot where this visual should be added.
- size, alpha, color
any, optional Properties of the generated visual.
- vertical_align, horizontal_align
any, optional Alignment properties of the text. Interpretation depends on the plotting backend.
- **artist_kws
Passed to the backend plotting function of the respective backend.
- x, y
- Returns:
- text_visual
any The backend object representing the text annotation.
- text_visual