We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08843ef commit 4e4afc6Copy full SHA for 4e4afc6
src/components/modebar/manage.js
@@ -50,7 +50,7 @@ module.exports = function manageModeBar(gd) {
50
var customButtons = context.modeBarButtons;
51
var buttonGroups;
52
53
- if(Array.isArray(customButtons) && customButtons.length > 1) {
+ if(Array.isArray(customButtons) && customButtons.length) {
54
buttonGroups = fillCustomButton(customButtons);
55
}
56
else {
0 commit comments