Conversation
src/plot_api/plot_api.js
Outdated
There was a problem hiding this comment.
I'd would put this in plots.purge
and maybe (cc @alexcjohnson ) we could expose purge on Plotly? It sounds to me like something users might want to use.
There was a problem hiding this comment.
Good call on moving removeAllListeners. Not sure if we should expose the purge method though - I can't think of too many use cases where that's what a user would want to clear the node and reuse it - if they want to "purge", they'll just delete the node. Better to keep the user surface area of plotly.js as small as possible.
@alexcjohnson thoughts?
There was a problem hiding this comment.
|
I think there are still some client installations that use |
|
I'd like to use something similar to |
|
💃 |
Remove all event listeners from gd

Piece of 🍰