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
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