Click Event Python API

I want to draw some lines on a scatter plot after clicking on a specific point. The lines will represent the connectivity among points (which will be choose by the user on a click event).

Any updates if the API supports click events already? I couldn’t find on the documentation.

Thanks a lot!

Anyone? The latest post I found on the subject is from 2015…

@cottalucas Take a look at the recently released, Dash, a Python framework for building reactive web apps https://plot.ly/dash/ .

I saw that! Thanks for your answer… However I already build the whole application with flask, bootstrap and plotly.

Dash doesn’t give you much freedom.

To finish I need to capture a mouse click event on a point (scatterplot) to trigger an action to decrease the opacity of some points and maintain of the rest…

I don’t know how to get that mouse action done :confused: