Title: 3.2.0 may break some Cartopy tests · Issue #15806 · matplotlib/matplotlib · GitHub
Open Graph Title: 3.2.0 may break some Cartopy tests · Issue #15806 · matplotlib/matplotlib
X Title: 3.2.0 may break some Cartopy tests · Issue #15806 · matplotlib/matplotlib
Description: Bug report I've started trying to get Cartopy working with the latest Matplotlib releases. Currently a lot of things fail, but there are some new things in 3.2.0rc1 that we may want to fix before releasing. Unfortunately, all those exist...
Open Graph Description: Bug report I've started trying to get Cartopy working with the latest Matplotlib releases. Currently a lot of things fail, but there are some new things in 3.2.0rc1 that we may want to fix before r...
X Description: Bug report I've started trying to get Cartopy working with the latest Matplotlib releases. Currently a lot of things fail, but there are some new things in 3.2.0rc1 that we may want to fix befo...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/15806
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"3.2.0 may break some Cartopy tests","articleBody":"### Bug report\r\n\r\nI've started trying to get Cartopy working with the latest Matplotlib releases. Currently a lot of things fail, but there are some new things in 3.2.0rc1 that we may want to fix before releasing. Unfortunately, all those existing failures make it difficult to determine what's new, but I believe the following *are* introduced by 3.2.0rc1.\r\n\r\n**Code for reproduction**\r\n\r\n```\r\n$ conda create -p /tmp/cpmpl matplotlib-base cartopy filelock\r\n$ conda activate /tmp/cpmpl\r\n$ pip install matplotlib==3.2.0rc1\r\n$ pytest --pyargs cartopy -k 'test_limits_contour or test_contour_plot_bounds or test_global_contourf_wrap_no_transform or test_pcolormesh_goode_wrap or test_pcolormesh_mercator_wrap'\r\n```\r\n\r\n**Actual outcome**\r\nFor `test_limits_contour`:\r\n```\r\nE AssertionError: \r\nE Arrays are not almost equal to 6 decimals\r\nE \r\nE x and y +inf location mismatch:\r\nE x: array([[ inf, inf],\r\nE [-inf, -inf]])\r\nE y: array([[ 70., -45.],\r\nE [170., 45.]])\r\n```\r\n\r\nFor `test_contour_plot_bounds`:\r\n```\r\nE AssertionError: \r\nE Arrays are not almost equal to 6 decimals\r\nE \r\nE Mismatch: 100%\r\nE Max absolute difference: 3230840.45\r\nE Max relative difference: 0.99999998\r\nE x: array([-0.05, 0.05, -0.05, 0.05])\r\nE y: array([-2763217. , 2681906. , -263790.62, 3230840.5 ])\r\n```\r\n\r\nFor `test_global_contourf_wrap_no_transform`:\r\nThe test image is cropped into a very small area.\r\n\r\nFor `test_pcolormesh_goode_wrap`, and `test_pcolormesh_mercator_wrap`:\r\nThe left edge of the image is visibly cropped.\r\n\r\n**Expected outcome**\r\n\r\nTests pass.\r\n\r\n**Matplotlib version**\r\n * Operating system: Fedora 30\r\n * Matplotlib version: 3.2.0rc1\r\n * Matplotlib backend (`print(matplotlib.get_backend())`): Agg\r\n * Python version: 3.7\r\n * Other libraries: Cartopy 0.17.0","author":{"url":"https://github.com/QuLogic","@type":"Person","name":"QuLogic"},"datePublished":"2019-12-02T02:10:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/15806/matplotlib/issues/15806"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:aab5279d-6566-9d75-a524-ac51f6f46774 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E1D2:184C10:2238:2931:6A52D917 |
| html-safe-nonce | f4c1b5d3f32ce6c0f0cf2f360cf314ffbab4324fd2ad4e3b2466f5f3bc4b7e67 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMUQyOjE4NEMxMDoyMjM4OjI5MzE6NkE1MkQ5MTciLCJ2aXNpdG9yX2lkIjoiNTc5NTg5MjAwMjE3NzYwMzg2NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 20b449f5323db20d4af9f697ce80ad0714f851ddfa861cb888d02bb7a969cb4c |
| hovercard-subject-tag | issue:530846506 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/15806/issue_layout |
| twitter:image | https://opengraph.githubassets.com/06b769e8efb622f243ce8023bd313fccfadee5053e13fd44d2e0758405a7279a/matplotlib/matplotlib/issues/15806 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/06b769e8efb622f243ce8023bd313fccfadee5053e13fd44d2e0758405a7279a/matplotlib/matplotlib/issues/15806 |
| og:image:alt | Bug report I've started trying to get Cartopy working with the latest Matplotlib releases. Currently a lot of things fail, but there are some new things in 3.2.0rc1 that we may want to fix before r... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | QuLogic |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width