'Programmatically reset Plotly plot selections
Currently using plotly.js wrapped inside the react-plotly library for a web application. Plotly has a behaviour where double click events trigger a reset of the plot (specifically selections within scatter plots are reset, which is the behaviour I wish to replicate). Is there a way to programmatically trigger this double click event or else to explicitly reset the selection?
I haven't been able to locate any info in the public docs and triggering a double click event on the plot does not appear to have any effect (i.e. calling dispatchEvent(new Event('dbclick')))
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
