Skip to content
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

Speed up selection #2295

Merged
merged 4 commits into from
Jan 26, 2018
Merged

Speed up selection #2295

merged 4 commits into from
Jan 26, 2018

Conversation

dy
Copy link
Contributor

@dy dy commented Jan 25, 2018

This fixes multimarker selection error (@bpostlethwaite discussion) and speeds up entering selection mode (up to ×3 times).

  • add test

@dy
Copy link
Contributor Author

dy commented Jan 25, 2018

@alexcjohnson please take a look.

@alexcjohnson
Copy link
Collaborator

Nice, can't argue with the 🐎 ! Only suggestion would be 🌴 something like

selectedOptions = makeModifiedMarkerOptions(trace.selected.marker, markerOpts);
unselectedOptions = makeModifiedMarkerOptions(trace.unselected.marker, markerOpts);

@dy
Copy link
Contributor Author

dy commented Jan 26, 2018

@alexcjohnson done, thank you for the good point!

@dy
Copy link
Contributor Author

dy commented Jan 26, 2018

@alexcjohnson should that be a good-to-go?

@alexcjohnson
Copy link
Collaborator

💃

@dy dy merged commit fdf20cb into master Jan 26, 2018
@dy dy deleted the scattergl-selection-fix branch January 26, 2018 22:31
ivankirshin pushed a commit to newcrom/plotly.js that referenced this pull request Jan 30, 2024
ifdotpy added a commit to newcrom/plotly.js that referenced this pull request Feb 5, 2024
plotly#2295: Front: Prepare package for publication
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants