Skip to content

Commit e964f42

Browse files
committed
filter fullGl3dData
1 parent 1a90501 commit e964f42

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/plots/cartesian/type_defaults.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ function setAutoType(ax, data) {
9191
}
9292
}
9393
else {
94-
if(axLetter === 'z') opts.noMultiCategory = true;
9594
ax.type = autoType(d0[axLetter] || [d0[axLetter + '0']], calendar, opts);
9695
}
9796
}

src/plots/gl3d/layout/defaults.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,19 @@ function handleGl3dDefaults(sceneLayoutIn, sceneLayoutOut, coerce, opts) {
9797
sceneLayoutIn.aspectmode = sceneLayoutOut.aspectmode;
9898
}
9999

100+
var fullGl3dData = [];
101+
for(var i = 0; i < opts.fullData.length; i++) {
102+
if(opts.fullData[i].scene) {
103+
fullGl3dData.push(
104+
opts.fullData[i]
105+
);
106+
}
107+
}
108+
100109
supplyGl3dAxisLayoutDefaults(sceneLayoutIn, sceneLayoutOut, {
101110
font: opts.font,
102111
scene: opts.id,
103-
data: opts.fullData,
112+
data: fullGl3dData,
104113
bgColor: bgColorCombined,
105114
calendar: opts.calendar,
106115
fullLayout: opts.fullLayout

0 commit comments

Comments
 (0)