Title: [Bug]: Flaky test_contour.py::test_labels on minver CI · Issue #31513 · matplotlib/matplotlib · GitHub
Open Graph Title: [Bug]: Flaky test_contour.py::test_labels on minver CI · Issue #31513 · matplotlib/matplotlib
X Title: [Bug]: Flaky test_contour.py::test_labels on minver CI · Issue #31513 · matplotlib/matplotlib
Description: Bug summary Since the merge of the font overhaul branch, this test has been failing on minver only with RMS 0.994. That branch did drop the tolerance down from 1.1 to 0, so maybe we just need to up it for now, but it would be nice to fig...
Open Graph Description: Bug summary Since the merge of the font overhaul branch, this test has been failing on minver only with RMS 0.994. That branch did drop the tolerance down from 1.1 to 0, so maybe we just need to up...
X Description: Bug summary Since the merge of the font overhaul branch, this test has been failing on minver only with RMS 0.994. That branch did drop the tolerance down from 1.1 to 0, so maybe we just need to up...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/31513
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: Flaky test_contour.py::test_labels on minver CI","articleBody":"### Bug summary\n\nSince the merge of the font overhaul branch, this test has been failing on minver only with RMS 0.994. That branch did drop the tolerance down from 1.1 to 0, so maybe we just need to up it for now, but it would be nice to figure out why.\n\n### Code for reproduction\n\n```Python\npytest lib/matplotlib/tests/test_contour.py::test_labels\n```\n\n### Actual outcome\n\n\u003cimg width=\"640\" height=\"480\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/618c3074-94fb-4d31-bb69-b0aac1a5570b\" /\u003e\n\nAs you can see, the contour line is not split correctly for the bottom-most label, and overlaps the minus sign. The diff also shows that the text is _minorly_ different (maybe half pixel off?):\n\n\u003cimg width=\"640\" height=\"480\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/b907e8d2-57d6-4e6e-8a8f-2dab0543ccc8\" /\u003e\n\n### Expected outcome\n\n\u003cimg width=\"640\" height=\"480\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/1e5958f1-f60b-4c9c-9de3-2d37d7e478d1\" /\u003e\n\n### Additional information\n\n_No response_\n\n### Operating system\n\nLinux\n\n### Matplotlib Version\n\n5d0a4f5f0d533e4d1639335c63597005f39021d3\n\n### Matplotlib Backend\n\nn/a\n\n### Python version\n\n3.11\n\n### Jupyter version\n\nn/a\n\n### Installation\n\ngit checkout","author":{"url":"https://github.com/QuLogic","@type":"Person","name":"QuLogic"},"datePublished":"2026-04-17T02:42:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/31513/matplotlib/issues/31513"}
| 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:a7c01a04-173b-baa5-1455-df721b678b08 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 98CE:260009:14557C8:1B28580:6A52AD0D |
| html-safe-nonce | 2e9fda4c060be580dbd6851928a4693774f6d40d78e2310303d8e58a8ef23571 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OENFOjI2MDAwOToxNDU1N0M4OjFCMjg1ODA6NkE1MkFEMEQiLCJ2aXNpdG9yX2lkIjoiNjY4MTg5NzIyMzY2NjcwNzcyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 78edce97e3849a3a6e0e62661f39e9902dedae2820e3f52b9671bdc57de30337 |
| hovercard-subject-tag | issue:4279781170 |
| 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/31513/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a52d5cbd26188d040d8dc0513348b178fd10681b8b82de9b2c01b6cf80eae164/matplotlib/matplotlib/issues/31513 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a52d5cbd26188d040d8dc0513348b178fd10681b8b82de9b2c01b6cf80eae164/matplotlib/matplotlib/issues/31513 |
| og:image:alt | Bug summary Since the merge of the font overhaul branch, this test has been failing on minver only with RMS 0.994. That branch did drop the tolerance down from 1.1 to 0, so maybe we just need to up... |
| 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