Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: Calculate bbox for pcolormesh #1958

Merged
merged 1 commit into from
Dec 13, 2021

Conversation

greglucas
Copy link
Contributor

This was missed in the pcolormesh refactor causing some incorrect bounds calculations when plotting the data. It was typically covered up by the pcolor wrapped addition updating the limits there, so it wasn't caught earlier.
Commit: 00400f3
PR: #1646

Added some tests to try and check these data limits in the future.

Fixes #1947

@greglucas greglucas changed the base branch from master to v0.20.x December 5, 2021 19:01
@greglucas greglucas changed the base branch from v0.20.x to master December 5, 2021 19:02
Copy link
Contributor

@dopplershift dopplershift left a comment

Choose a reason for hiding this comment

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

Seems good to me. Any idea about the macos 3.7 failure?

@dopplershift dopplershift added this to the 0.20.2 milestone Dec 7, 2021
@greglucas
Copy link
Contributor Author

I have no idea on that failure... Looks like the geos libraries are struggling with linking, so it could be something related to the shapely/cartopy geos library imports got mixed up somewhere along the line in a recent conda build of shapely or geos...

@QuLogic
Copy link
Member

QuLogic commented Dec 8, 2021

Well, a rebuild made it worse... Seems like one of the shapefiles was updated and now the result is a bit different, so all builds fail. The original failure is still broken too.

This was missed in the pcolormesh refactor causing some incorrect
bounds calculations when plotting the data.
@dopplershift dopplershift merged commit 64ac172 into SciTools:master Dec 13, 2021
@greglucas greglucas deleted the pcolormesh-bbox branch December 13, 2021 22:52
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.

Global map cropped with pcolormesh when lats > 90
3 participants