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.

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