Title: [Bug]: Flaky tests with "Python 3.11 on ubuntu-22.04 (Minimum Versions)" · Issue #30882 · matplotlib/matplotlib · GitHub
Open Graph Title: [Bug]: Flaky tests with "Python 3.11 on ubuntu-22.04 (Minimum Versions)" · Issue #30882 · matplotlib/matplotlib
X Title: [Bug]: Flaky tests with "Python 3.11 on ubuntu-22.04 (Minimum Versions)" · Issue #30882 · matplotlib/matplotlib
Description: Bug summary An number of times, I've seen a set of 15 tests fail; e.g. here https://github.com/matplotlib/matplotlib/actions/runs/20340944398/job/58439839528?pr=30600 FAILED lib/matplotlib/tests/test_axes.py::test_pcolor_log_scale[png] -...
Open Graph Description: Bug summary An number of times, I've seen a set of 15 tests fail; e.g. here https://github.com/matplotlib/matplotlib/actions/runs/20340944398/job/58439839528?pr=30600 FAILED lib/matplotlib/tests/te...
X Description: Bug summary An number of times, I've seen a set of 15 tests fail; e.g. here https://github.com/matplotlib/matplotlib/actions/runs/20340944398/job/58439839528?pr=30600 FAILED lib/matplotlib/test...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/30882
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: Flaky tests with \"Python 3.11 on ubuntu-22.04 (Minimum Versions)\"","articleBody":"### Bug summary\n\nAn number of times, I've seen a set of 15 tests fail; e.g. here https://github.com/matplotlib/matplotlib/actions/runs/20340944398/job/58439839528?pr=30600\n\n```\nFAILED lib/matplotlib/tests/test_axes.py::test_pcolor_log_scale[png] - matplo...\nFAILED lib/matplotlib/tests/test_ticker.py::test_small_range_loglocator[1-lims0-ticks0]\nFAILED lib/matplotlib/tests/test_ticker.py::test_small_range_loglocator[2-lims1-ticks1]\nFAILED lib/matplotlib/tests/test_ticker.py::test_small_range_loglocator[3-lims2-ticks2]\nFAILED lib/matplotlib/tests/test_ticker.py::test_small_range_loglocator[9-lims3-ticks3]\nFAILED lib/matplotlib/tests/test_ticker.py::test_small_range_loglocator[1-lims4-ticks4]\nFAILED lib/matplotlib/tests/test_ticker.py::test_small_range_loglocator[2-lims5-ticks5]\nFAILED lib/matplotlib/tests/test_ticker.py::test_small_range_loglocator[3-lims6-ticks6]\nFAILED lib/matplotlib/tests/test_ticker.py::test_small_range_loglocator[9-lims7-ticks7]\nFAILED lib/matplotlib/tests/test_ticker.py::test_small_range_loglocator[1-lims8-ticks8]\nFAILED lib/matplotlib/tests/test_ticker.py::test_small_range_loglocator[3-lims10-ticks10]\nFAILED lib/matplotlib/tests/test_ticker.py::test_small_range_loglocator[9-lims11-ticks11]\nFAILED lib/matplotlib/tests/test_ticker.py::test_small_range_loglocator[1-lims12-ticks12]\nFAILED lib/matplotlib/tests/test_ticker.py::test_small_range_loglocator[9-lims15-ticks15]\nFAILED lib/mpl_toolkits/mplot3d/tests/test_axes3d.py::test_bar3d_notshaded[png]\n```\n\nSeems to be only in \"Python 3.11 on ubuntu-22.04 (Minimum Versions)\" - but not completely sure about that.\n\n\n### Actual outcome\n\nMost of the failing tests are an `assert_array_equal()` failing with minimal numeric tolerance.\n\n```\nE AssertionError: \nE Arrays are not equal\nE \nE Mismatched elements: 1 / 3 (33.3%)\nE Max absolute difference: 1.38777878e-17\nE Max relative difference: 1.38777878e-16\nE x: array([1.e-01, 1.e+01, 1.e+03])\nE y: array([1.e-01, 1.e+01, 1.e+03])\n```\n\n\n\n### Matplotlib Version\n\nmain\n\n","author":{"url":"https://github.com/timhoffm","@type":"Person","name":"timhoffm"},"datePublished":"2025-12-18T16:06:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/30882/matplotlib/issues/30882"}
| 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:e87c40a0-c836-798e-534a-8d2aa992e294 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A4EC:1EECE0:349E19:45FD25:6A51C026 |
| html-safe-nonce | d26031dbd4b3835765e21f74eae02f596dc0f3106d65e838d84e90dc6c07d9e6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNEVDOjFFRUNFMDozNDlFMTk6NDVGRDI1OjZBNTFDMDI2IiwidmlzaXRvcl9pZCI6IjkxMzk4OTgxNDY2NDk5MTU0MzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2970c6f0787cbaedf352015f3ece5ec9ce63c84d32b2db9e571e04cc2b9fdc03 |
| hovercard-subject-tag | issue:3743769644 |
| 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/30882/issue_layout |
| twitter:image | https://opengraph.githubassets.com/abf019851ab25c2f95760198433d7550c086faa9746272c73cf0bdb8b03d9edb/matplotlib/matplotlib/issues/30882 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/abf019851ab25c2f95760198433d7550c086faa9746272c73cf0bdb8b03d9edb/matplotlib/matplotlib/issues/30882 |
| og:image:alt | Bug summary An number of times, I've seen a set of 15 tests fail; e.g. here https://github.com/matplotlib/matplotlib/actions/runs/20340944398/job/58439839528?pr=30600 FAILED lib/matplotlib/tests/te... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | timhoffm |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width