Click events and labels


Hello everyone.

I am new to this library, I have been using matplotlib. Basicaly, what I was trying to implement is a plotly graph where when you click on a point a label appears with the coordinates of that point and this label stays available even if the mouse changes its position. I would like to implement this on python if possible.

When I used matplotlib I could perform this by using a Tkinter canvas like the image shows.

hi @josoares
As far as I know, that is not possible with Plotly.

You can probably achieve a similar effect when combining Dash with Plotly. Perhaps create an annotation above the marker once the marker is clicked.