10000 fix typo in `Add Buttons to ModeBar` example code by Lexachoc · Pull Request #332 · plotly/graphing-library-docs · GitHub
[go: up one dir, main page]

Skip to content

fix typo in Add Buttons to ModeBar example code #332

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

Merged
merged 1 commit into from
Apr 8, 2025

Conversation

Lexachoc
Copy link
Contributor

Fix typo in
https://plotly.com/javascript/configuration-options/#add-buttons-to-modebar

The modebardisplay should be put in config instead of layout, but the name is actually wrong. It should be displayModeBar.

And since this example shows how to add a custom button, it is pointless to disable it.

I set it to true so the modebar is always visible, but it is optional.

@LiamConnors LiamConnors merged commit 74933fb into plotly:master Apr 8, 2025
@LiamConnors
Copy link
Member

Thanks for the PR. Sorry for the delay in getting it merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0