Black Lives Matter. Please consider donating to Black Girls Code today.
Dash Enterprise delivers an incredible 21x cost savings 💸Download the e-book!

Double click event

Hi everyone

I have often seen that double click event often resets the plot to original form in plotly . So i want some of mine parameters to reinitailise when the plot resets to its original form (on double click) .Is there some function that is called when I double click .If I know that function I will be able to reinitialse my parameters when function fired by double click event is called .
Thanks in advance

I’d recommend listening to the plotly_doubleclick event as in this example: http://codepen.io/etpinard/pen/mELzgZ

It doesnot seem to work if i plot in python (plotly offline ) and send the graph data (enclosed in divs) to front end (javascript /HTML for display) :frowning: