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 doesn't work from Plotly.update for scattergl #7271

Open
bartmichels-akur8 opened this issue Nov 15, 2024 · 1 comment
Open
Labels
bug something broken P2 considered for next cycle regression this used to work

Comments

@bartmichels-akur8
Copy link

bartmichels-akur8 commented Nov 15, 2024

This is the same bug as #2348:
I cannot set selectedpoints on a scattergl trace when a box selection exists (in v2.35.2)

See the codepen: https://codepen.io/ks_openeye/pen/gvLrxR
It broke in 2.13.0 (still worked in 2.12.0).

@gvwilson gvwilson added bug something broken regression this used to work P2 considered for next cycle labels Nov 15, 2024
@bartmichels-akur8
Copy link
Author

bartmichels-akur8 commented Nov 18, 2024

Related: When I have an existing selection and call relayout({selections: []}), then plotly_select is fired with:

  • in 2.13.0: the previous point selection
  • in 2.14.0+: an empty selection

and in both cases, the point selection does not change. The selection boxes and lasso disappear correctly.
Is this by design?
It feels off, because for other selection events, the event data is the selection after the event, not the symmetric difference between the before and after.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken P2 considered for next cycle regression this used to work
Projects
None yet
Development

No branches or pull requests

2 participants