Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6cc5eae

Browse files
committed
Reset selection for fancy scatter
1 parent 3a76cd0 commit 6cc5eae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/traces/scattergl/convert.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ proto.updateFancy = function(options) {
559559

560560
var sizes, selIds;
561561

562-
if(selection) {
562+
if(selection && selection.length) {
563563
selIds = {};
564564
for(i = 0; i < selection.length; i++) {
565565
selIds[selection[i].pointNumber] = true;

0 commit comments

Comments
 (0)