Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

How to kill plotly?

I’m creating plotly dynamically, and remove dynamically too. But I remove only binded element. How to kill plotly?

Example demonstrates that plotly instances preserves in memory. Screenshot of calls:

As you can see always works 3 timer event listeners, by count of created plotlices.

Have you tried Plotly.purge?

thank you, sorry, missed that method.

1 Like

No problem. I just wasn’t sure what you meant by killing plotly.