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 724c83f commit 315c888Copy full SHA for 315c888
1 file changed
src/traces/bar/layout_defaults.js
@@ -37,7 +37,7 @@ module.exports = function(layoutIn, layoutOut, fullData) {
37
// with other barmodes bars are grouped next to each other when sharing the same axes
38
// and using different offsetgroups
39
subploti += trace._input.offsetgroup;
40
- if(!usedSubplots[subploti]) gappedAnyway = true;
+ if(usedSubplots.length > 0 && !usedSubplots[subploti]) gappedAnyway = true;
41
usedSubplots[subploti] = true;
42
}
43
0 commit comments