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 e266a3c commit f3d22ceCopy full SHA for f3d22ce
inst/htmlwidgets/plotly.js
@@ -522,7 +522,7 @@ function TraceManager(graphDiv, highlight) {
522
// avoid doing this over and over
523
this.origOpacity = [];
524
for (var i = 0; i < this.origData.length; i++) {
525
- this.origOpacity[i] = this.origData[i].opacity || 1;
+ this.origOpacity[i] = this.origData[i].opacity === 0 ? 0 : (this.origData[i].opacity || 1);
526
}
527
528
// key: group name, value: null or array of keys representing the
0 commit comments