Skip to content

Commit 46ea041

Browse files
committed
fix this gd context
1 parent c4d5d0c commit 46ea041

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/htmlwidgets/plotly.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ TraceManager.prototype.updateSelection = function(group, keys) {
743743
if (tracesToDim.length > 0) {
744744
Plotly.restyle(this.gd, {"opacity": opacities}, tracesToDim);
745745
// turn off the selected/unselected API
746-
Plotly.restyle(gd, {"selectedpoints": null});
746+
Plotly.restyle(this.gd, {"selectedpoints": null});
747747
}
748748

749749
}

0 commit comments

Comments
 (0)