-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Add modebar buttons control into layout #5623
Comments
and change hovermode to closest -> #5639 |
So to crisp up a bit what I think should happen in layout... We should add a new key The config should take precedence over whatever is set in the layout, so if the layout adds a button and the config removes it, it should be removed. |
(updated above to reflect the fact that we already have |
Hmm... shouldn't |
No, config should still win IMO |
At some point we may want to expose an equivalent of
|
OK for |
Let's add a
layout.modebar.buttons = {add: [...], remove: [...] }
attribute to make it easier for folks to force certain buttons (like the to-be-removed hovermode buttons per #5642 or the drawing controls)The text was updated successfully, but these errors were encountered: