Skip to content

Conversation

@mvdoc
Copy link
Contributor

@mvdoc mvdoc commented Sep 22, 2022

Volume2D and Vertex2D objects use VolumeRGB/VertexRGB for plotting. They set the alpha channel to a uint8 array. This returns a warning, because the check on the alpha values is too liberal. This PR fixes the issue, and should warn only when the alpha array is a float.

@mvdoc mvdoc merged commit 2df9775 into gallantlab:main Sep 23, 2022
@mvdoc mvdoc deleted the mnt/alpha_warning branch September 23, 2022 00:15
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.

2 participants