-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Fix scattergl selection #2267
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
Fix scattergl selection #2267
Conversation
|
Thanks @dfcreative - is there a test we can add that shows that this fixes the bug? |
Conflicts: package.json
|
@alexcjohnson added selection test at 348d4d0 |
| var x = [], y = []; | ||
| for(var i = 0; i < 2e4; i++) { | ||
| x.push(Math.random()); | ||
| y.push(Math.random()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there's probably an infinitesimal chance that this will cause any problems, but I still don't like having random calls in a test suite. If you really want something random-looking, as opposed to some simple formula, consider appropriating something reproducible like we used for box plot jitter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @alexcjohnson! Fixed in 39be256
|
Beautiful, thanks! 💃 |
|
cc @cpsievert |
|
Closed by cb2729e |
Fixes #2266