Skip to content

Conversation

@Carifio24
Copy link
Member

While doing some work with some yt colormaps, a few of those colormaps have colors members that are numpy arrays. Our current colormap construction for the volume viewer assumes that colors is a list, like it is for the matplotlib listed colormaps. This causes element-wise addition rather than concatenation when constructing the RGBA lists with those yt maps. This PR modifies the RGBA color construction to handle either case.

@Carifio24 Carifio24 requested a review from astrofrog July 9, 2025 20:36
@astrofrog astrofrog merged commit 5c8a8a3 into glue-viz:main Nov 6, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants