8000 Merge pull request #332 from Lexachoc/patch-2 · plotly/graphing-library-docs@74933fb · GitHub
[go: up one dir, main page]

Skip to content

Commit 74933fb

Browse files
authored
Merge pull request #332 from Lexachoc/patch-2
fix typo in `Add Buttons to ModeBar` example code
2 parents 214b160 + 73e379e commit 74933fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_posts/plotly_js/fundamentals/config-options/2020-01-24-add-button-to-modebar.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
var layout = {
2525
title: {
2626
text: 'add mode bar button with custom icon'
27-
},
28-
modebardisplay: false
27+
}
2928
}
3029

3130
var config = {
31+
displayModeBar: true,
3232
modeBarButtonsToAdd: [
3333
{
3434
name: 'color toggler',

0 commit comments

Comments
 (0)
0