Skip to content

Commit 3eb9a9b

Browse files
committed
calling getSubplotData with correct options
1 parent 8e987b6 commit 3eb9a9b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/plots/gl3d/layout/defaults.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,12 @@ function handleGl3dDefaults(sceneLayoutIn, sceneLayoutOut, coerce, opts) {
9999
sceneLayoutIn.aspectmode = sceneLayoutOut.aspectmode;
100100
}
101101

102-
var sceneIds = opts.fullLayout._subplots[GL3D];
103-
var fullSceneData = getSubplotData(opts.fullData, GL3D, sceneIds);
102+
var fullGl3dData = getSubplotData(opts.fullData, GL3D, opts.id);
104103

105104
supplyGl3dAxisLayoutDefaults(sceneLayoutIn, sceneLayoutOut, {
106105
font: opts.font,
107106
scene: opts.id,
108-
data: fullSceneData,
107+
data: fullGl3dData,
109108
bgColor: bgColorCombined,
110109
calendar: opts.calendar,
111110
fullLayout: opts.fullLayout

0 commit comments

Comments
 (0)