Skip to content

Conversation

@greglucas
Copy link
Contributor

nan inputs to pcolormesh combined with a wrap would mask out the
data before getting to pcolor, and therefore the paths would not
be created. This creates the pcolor paths with generic data and then
calls set_array() with the proper data after the pcolor has been
created to make sure all paths are made first.

Closes #1845

@mathause
Copy link
Contributor

mathause commented Sep 9, 2021

Yes this fixes my issue - thanks for the fast response and PR!

greglucas and others added 2 commits September 13, 2021 16:53
nan inputs to pcolormesh combined with a wrap would mask out the
data before getting to pcolor, and therefore the paths would not
be created. This creates the pcolor paths with generic data and then
calls set_array() with the proper data after the pcolor has been
created to make sure all paths are made first.
@greglucas
Copy link
Contributor Author

Thanks for adding the suggestion in, @QuLogic. I also pushed that same logic above into the pcolormesh section.

@greglucas greglucas merged commit 58f959d into SciTools:master Sep 13, 2021
@greglucas greglucas deleted the pcolor-nan branch September 13, 2021 23:16
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.

false masking of edge points (pcolormesh)

4 participants