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

How to clear event_data('plotly_click') or send double click event?


I’m using plotly_click event to show a modal with info.

My problem is that when I change my filters the plot will be rendered again and the event will show a modal…

I looking for a way to clear the event_data info or simulate a double click event to reset the data…

Thank you, Álex.