Black Lives Matter. Please consider donating to Black Girls Code today.

Paper Coordinates on Click Event

I am looking for a way to add annotations to the plot paper on a click event similar to the one implemented with the plotly_click event. The plotly_click event seems to only capture when a data point on the plot is clicked. I would like it to return the relative domain coordinate on the paper of the point clicked.



You mean like this?