-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Modebar not destroyed correctly #120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
bug
something broken
Comments
Confirmed. It is on the div with |
probably a one-line fix in |
Yep. My thinking as well - just need to destroy the node. |
Adding: gd._fullLayout._modebar.destroy(); https://github.com/plotly/plotly.js/blob/master/src/components/modebar/index.js#L262 should do it. |
This is fixed, thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try this in the test environment:
Now, inspect the DOM tree near the modebar(s). Each
newPlot
has its own overlapping modebar.The text was updated successfully, but these errors were encountered: