Skip to content

Conversation

@Carifio24
Copy link
Member

This PR is the equivalent of glue-viz/glue-vispy-viewers#395 and glue-viz/glue-vispy-viewers#396 for the ipyvolume viewer. FWIW, the colormaps look better in Max Intensity mode to me.

Along the way, I generalized our color widget to allow changing the name of the color mode attribute, as well as allowing the omission of the cmap_att sub-widgets, to allow reusing the mode/colormap pieces for volume layers.

As the ipyvolume volume layer state is a subclass of the vispy volume layer state, this PR builds off of the state updates from the two vispy viewer PRs. Thus I'm marking this as a draft until these updates land in a glue-vispy-viewers release, but this works nicely for me when used with the dev version of that package.

@Carifio24 Carifio24 marked this pull request as ready for review November 24, 2025 22:15
@Carifio24
Copy link
Member Author

With the release of glue-vispy-viewers==1.3.0, this should now be working.

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.

1 participant