| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
This needs an API change note.
I'm sure we have at least one user who is relying on the mask being ignored!
I do not think this needs a deprecation cycle (as I suspect "just document it" was to avoid fixing a bug).
Sorry, something went wrong.
This sets the alpha channel to 0 when any RGB(A) input is masked.
|
👍 Added a change note now. |
Sorry, something went wrong.
There was a problem hiding this comment.
Thank you for doing this @greglucas!
I have also verified that it enables the hoped for simplification of my Cartopy branch.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
PR summary
Currently, the mask is ignored if a user passes in RGB(A) input arrays. This sets the alpha channel to 0 when any RGB(A) input is masked. This is relevant for RGB(A) data being used with pcolormesh. xref: SciTools/cartopy#2166 where it will simplify downstream accounting for masks and alpha.
PR checklist