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.
2 parents 044afe0 + f3d22ce commit 0acffceCopy full SHA for 0acffce
inst/htmlwidgets/plotly.js
@@ -533,7 +533,7 @@ function TraceManager(graphDiv, highlight) {
533
// avoid doing this over and over
534
this.origOpacity = [];
535
for (var i = 0; i < this.origData.length; i++) {
536
- this.origOpacity[i] = this.origData[i].opacity || 1;
+ this.origOpacity[i] = this.origData[i].opacity === 0 ? 0 : (this.origData[i].opacity || 1);
537
}
538
539
// key: group name, value: null or array of keys representing the
0 commit comments