-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
plotly_click and plotly_select buggy on scatter/markers plot #1648
Comments
That's been discussed in #720 (comment) - it is the intended behavior I'm afraid.
Oh. That's a bug. Thanks for discovering it!
Ok, but what else do you want it there? |
will be via #1656 |
Yeah I suspected that this is set in stone and would make sense since not everyone would want to return multiple click events from hitting one point.
No problem, its better that I rewrite my code once the fix is out, than other people struggling with this problem.
Stemming back from first issue where _click will not allow you to hit multiple points and, and since there is no jittering I'm using the _select to pick up the points that are below the top one. It would be nice if it also returned data, like plotly_click. Although I understand you can get the data for whole graph from the div and then go though each point and get the info that way. Thanks for quick response |
Oh good point! I agree. Double-checking with @alexcjohnson before I add it in. |
I made a codepen here:
Codepen
plotly_click:
So when you click on a given point, it only returns one object even when there is 10 points at each of the 3 locations. Does it not register the other points, that are also with same x and y coordinates?
plotly_selected:
As you can see when you select(box or lasso) any given point or set of points, the total number of objects always appends the NA items into the array. Also the selection does not give more than just x,y, pointNumber and curveNumber the actual data for each point is not passed into plotly_select.
The text was updated successfully, but these errors were encountered: