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:

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: