Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8d4b821

Browse filesBrowse files
committed
return empty set for invisible bar trace
1 parent 0a9b19c commit 8d4b821
Copy full SHA for 8d4b821

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/traces/bar/select.js

Copy file name to clipboardExpand all lines: src/traces/bar/select.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = function selectPoints(searchInfo, polygon) {
1717
var node3 = cd[0].node3;
1818
var i;
1919

20-
if(trace.visible !== true) return;
20+
if(trace.visible !== true) return [];
2121

2222
if(polygon === false) {
2323
// clear selection

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.