Skip to content

Commit 8078945

Browse files
committed
Fixed a bug where calling Plotly.restyle to change the opacity of a scatter3d trace was not updating the graph
1 parent 642c034 commit 8078945

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/traces/scatter3d/attributes.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,8 @@ var attrs = module.exports = overrideAll({
161161
family: extendFlat({}, scatterAttrs.textfont.family, {arrayOk: false})
162162
},
163163

164+
opacity: baseAttrs.opacity,
165+
164166
hoverinfo: extendFlat({}, baseAttrs.hoverinfo)
165167
}, 'calc', 'nested');
166168

0 commit comments

Comments
 (0)