Skip to content

Comments

fix typo in Add Buttons to ModeBar example code#332

Merged
LiamConnors merged 1 commit intoplotly:masterfrom
Lexachoc:patch-2
Apr 8, 2025
Merged

fix typo in Add Buttons to ModeBar example code#332
LiamConnors merged 1 commit intoplotly:masterfrom
Lexachoc:patch-2

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