Skip to content

Conversation

e-k-m
Copy link
Contributor

@e-k-m e-k-m commented Jun 20, 2024

Rationale

Using pccolormesh with gouraud shading fails on wrap around mask creation, since numpy array mask is created with negative dimension.

Details: Fails here https://github.com/SciTools/cartopy/blob/main/lib/cartopy/mpl/geoaxes.py#L1896 because
data_shape equals (Nx, Ny, -1) or (Ny - 1, Nx - 1, -1).

Implications

As far as I can see there are no implications of the proposed change.

@CLAassistant
Copy link

CLAassistant commented Jun 20, 2024

CLA assistant check
All committers have signed the CLA.

@e-k-m
Copy link
Contributor Author

e-k-m commented Jun 20, 2024

Docs generation seems to fail given an unrelated issue to this PR. Ready for review. THX.

Copy link
Contributor

@greglucas greglucas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for updating this! Looks like that was just overlooked in #2166

@greglucas greglucas merged commit 300c8b1 into SciTools:main Jun 22, 2024
@rcomer rcomer added this to the Next Release milestone Jun 22, 2024
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.

4 participants