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

selectedpoints in FigureWidget not updated on selection #1433

Closed
jonmmease opened this issue Feb 12, 2019 · 1 comment
Closed

selectedpoints in FigureWidget not updated on selection #1433

jonmmease opened this issue Feb 12, 2019 · 1 comment
Labels
bug something broken
Milestone

Comments

@jonmmease
Copy link
Contributor

See https://community.plot.ly/t/lasso-deselect-from-inside-a-function/19112/2 for background.

It seems like the scatter.selectedpoints property does not get updated automatically on selection events. Because of this, setting it to [] to clear a selection only works the first time, because after the first time the Python side thinks the value is already []

This might simply be a matter of needing to sync the properties on plotly_selected events.

@jonmmease jonmmease added the bug something broken label Feb 19, 2019
@jonmmease jonmmease added this to the v3.7.0 milestone Mar 8, 2019
@jonmmease
Copy link
Contributor Author

Done in 675633e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

No branches or pull requests

1 participant