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

Updates to z-order manipulation #63

Merged
merged 1 commit into from
May 10, 2024
Merged

Conversation

Carifio24
Copy link
Member

This PR fixes up some issues with z-order manipulation that were noticed while using the scatter viewer in CosmicDS. Note that many of the changes here were based on the behavior of the bqplot scatter viewer.

Additionally, the viewers now retain other marks (e.g. those made by tools) when reordering the layers. Since there's no sensible general way to order these sorts of traces, they all just get push to the end of the trace list (higher z-index). If the tool that created these traces needs them in a particular order, it will have to sort that out itself. Note that the ordering of these non-glue traces relative to each other is left untouched.

@Carifio24 Carifio24 merged commit a7a5b68 into glue-viz:main May 10, 2024
32 of 33 checks passed
@Carifio24 Carifio24 added bug Something isn't working viewers labels May 10, 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