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

Update how traces are removed from dotplot layer artist #61

Merged
merged 1 commit into from
May 8, 2024

Conversation

Carifio24
Copy link
Member

While using the dotplot layer artist in Solara (for the CosmicDS Hubble data story), I noticed that the way that we're currently removing traces causes an issue in that context when using zoom tools (as the traces need to be redrawn to resize the dots). In particular, something about the event sequencing was causing incorrect (and often out-of-bounds) trace indices to be used for the internal Plotly restyling calls. This PR modifies the trace-removal code to match that in the default histogram layer artist, which resolves this issue.

@Carifio24 Carifio24 merged commit cec3610 into glue-viz:main May 8, 2024
31 of 33 checks passed
@Carifio24 Carifio24 added bug Something isn't working viewers labels May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working viewers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant