When I create a scatter plot, and specify to show hovertext by passing
hovertext=my_text, hoverinfo='text' to
Scatter, the hoverinfo box has the same background color as the marker it is attached to, and the font color is chosen automatically to have good contrast with the background in order to be readable. I love this feature!!
I would love to have this ability for other objects too, e.g. for the text of a marker itself, or general annotations. Is there something like
color=automatic to achieve this?