fastplotlib.Tooltip#
- class Tooltip[source]#
Create a Textbox
- Parameters:
font_size (int, default 12) – text font size
text_color (str | pygfx.Color | tuple, default "w") – text color, interpretable by pygfx.Color
background_color (str | pygfx.Color | tuple, default (0.1, 0.1, 0.3, 0.95),) – background color, interpretable by pygfx.Color
outline_color (str | pygfx.Color | tuple, default (0.8, 0.8, 1.0, 1.0)) – outline color, interpretable by pygfx.Color
padding ((float, float), default (5, 5)) – the amount of pixels in (x, y) by which to extend the rectangle behind the text