Hovering Annotations on Seaborn Stripplot
I am currently trying to program a seaborn stripplot which shows a point’s column and index in the dataframe when hovered on by the mouse.
This raises a few questions:
What does stripplot.contains()
return? I get that it returns a boolean saying whether the event lies in the container-artist and a dict
giving the labels of the picked data points. But what does this dict
actually look like in the case of a 2D DataFrame?
How can I locate a data point in my dataframe thanks to this data?