| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:b97aa4fb-9f83-4546-8da9-44defae565b4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EB42:1EFAFB:6D8841:93BDE9:6A52A347 |
| html-safe-nonce | 8f42391bf3ab233375dd38f89b43ddd694cf10e7d6603f06e371b8787c674434 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjQyOjFFRkFGQjo2RDg4NDE6OTNCREU5OjZBNTJBMzQ3IiwidmlzaXRvcl9pZCI6IjMxNjQ0MTU5MTU1ODk4MDQ4NzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b89fa331e9e465d0c0bb688c1168bcca84c27d8105ce9bf56555357cda67afcf |
| hovercard-subject-tag | pull_request:3404611643 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/matplotlib/matplotlib/31315/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/544edcc8fc6ba224373e53621903b07280fb5167cbf21a7308d6937471e339e6/matplotlib/matplotlib/pull/31315 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/544edcc8fc6ba224373e53621903b07280fb5167cbf21a7308d6937471e339e6/matplotlib/matplotlib/pull/31315 |
| og:image:alt | PR Summary
Closes #24050
Why is this change necessary?
When calling ax.legend() using the 2-argument positional form — ax.legend(handles, labels) — with
mismatched list lengths, matplotlib silently... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | EncryptedDoom |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-cache |
| 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 |
| Skip to content | https://github.com/matplotlib/matplotlib/pull/31315/#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F31315%2F |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F31315%2F |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=matplotlib%2Fmatplotlib |
| Reload | https://github.com/matplotlib/matplotlib/pull/31315/ |
| Reload | https://github.com/matplotlib/matplotlib/pull/31315/ |
| Reload | https://github.com/matplotlib/matplotlib/pull/31315/ |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31315/ |
|
matplotlib
| https://github.com/matplotlib |
| matplotlib | https://github.com/matplotlib/matplotlib |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31315/ |
|
Notifications
| https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib |
|
Fork
8.4k
| https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib |
|
Star
23k
| https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib |
|
Code
| https://github.com/matplotlib/matplotlib |
|
Issues
1.1k
| https://github.com/matplotlib/matplotlib/issues |
|
Pull requests
408
| https://github.com/matplotlib/matplotlib/pulls |
|
Actions
| https://github.com/matplotlib/matplotlib/actions |
|
Projects
| https://github.com/matplotlib/matplotlib/projects |
|
Wiki
| https://github.com/matplotlib/matplotlib/wiki |
|
Security and quality
0
| https://github.com/matplotlib/matplotlib/security |
|
Insights
| https://github.com/matplotlib/matplotlib/pulse |
|
Code
| https://github.com/matplotlib/matplotlib |
|
Issues
| https://github.com/matplotlib/matplotlib/issues |
|
Pull requests
| https://github.com/matplotlib/matplotlib/pulls |
|
Actions
| https://github.com/matplotlib/matplotlib/actions |
|
Projects
| https://github.com/matplotlib/matplotlib/projects |
|
Wiki
| https://github.com/matplotlib/matplotlib/wiki |
|
Security and quality
| https://github.com/matplotlib/matplotlib/security |
|
Insights
| https://github.com/matplotlib/matplotlib/pulse |
| rcomer | https://github.com/rcomer |
| matplotlib:main | https://github.com/matplotlib/matplotlib/tree/main |
| Conversation | https://github.com/matplotlib/matplotlib/pull/31315 |
| Commits15 (15) | https://github.com/matplotlib/matplotlib/pull/31315/commits |
| Checks | https://github.com/matplotlib/matplotlib/pull/31315/checks |
| Files changed | https://github.com/matplotlib/matplotlib/pull/31315/files |
| [BUG] Warn when legend() receives mismatched handles and labels in 2-argument positional form | https://github.com/matplotlib/matplotlib/pull/31315/#top |
| rcomer | https://github.com/rcomer |
| matplotlib:main | https://github.com/matplotlib/matplotlib/tree/main |
|
| https://github.com/EncryptedDoom |
| EncryptedDoom | https://github.com/EncryptedDoom |
| Mar 16, 2026 | https://github.com/matplotlib/matplotlib/pull/31315/#issue-4082645302 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31315/ |
| #24050 | https://github.com/matplotlib/matplotlib/issues/24050 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31315/ |
| EncryptedDoom | https://github.com/EncryptedDoom |
| March 16, 2026 19:11 | https://github.com/matplotlib/matplotlib/pull/31315/#commits-pushed-6ddad0a |
|
| https://github.com/EncryptedDoom |
| Implement warning for mismatched legend handles and labels | https://github.com/matplotlib/matplotlib/pull/31315/commits/6ddad0a7d3cefad94a20bfc11dc95496ab651396 |
| 6ddad0a | https://github.com/matplotlib/matplotlib/pull/31315/commits/6ddad0a7d3cefad94a20bfc11dc95496ab651396 |
|
| https://github.com/EncryptedDoom |
| Add regression test for legend argument mismatch | https://github.com/matplotlib/matplotlib/pull/31315/commits/f6c86c406c9b63f7f43a7e14cfad0de2c8a7d3ce |
| f6c86c4 | https://github.com/matplotlib/matplotlib/pull/31315/commits/f6c86c406c9b63f7f43a7e14cfad0de2c8a7d3ce |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Mar 16, 2026 | https://github.com/matplotlib/matplotlib/pull/31315/#issuecomment-4067845215 |
| on gitter | https://gitter.im/matplotlib/matplotlib |
| the developer guide | https://matplotlib.org/devdocs/devel/index.html |
| Code of Conduct | https://github.com/matplotlib/matplotlib/blob/main/CODE_OF_CONDUCT.md |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31315/ |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
first-contribution
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3Afirst-contribution |
|
topic: legend
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20legend%22 |
|
first-contribution
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3Afirst-contribution |
| Mar 16, 2026 | https://github.com/matplotlib/matplotlib/pull/31315/#event-23608590064 |
|
| https://github.com/EncryptedDoom |
| Fix regression test message for legend mismatch | https://github.com/matplotlib/matplotlib/pull/31315/commits/11fd39a7d6d063d106c1352671abc4b1be7f3f62 |
| 11fd39a | https://github.com/matplotlib/matplotlib/pull/31315/commits/11fd39a7d6d063d106c1352671abc4b1be7f3f62 |
| https://github.com/timhoffm |
| timhoffm | https://github.com/timhoffm |
|
Mar 16, 2026
| https://github.com/matplotlib/matplotlib/pull/31315/#pullrequestreview-3954486158 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/31315/files/f6c86c406c9b63f7f43a7e14cfad0de2c8a7d3ce |
| lib/matplotlib/legend.py | https://github.com/matplotlib/matplotlib/pull/31315/files/f6c86c406c9b63f7f43a7e14cfad0de2c8a7d3ce#diff-e7a00bb4a353fa623c1d0c1de5c6ca602b7ab38e8906d4842640983133b9196a |
| timhoffm | https://github.com/timhoffm |
| Mar 16, 2026 | https://github.com/matplotlib/matplotlib/pull/31315/#discussion_r2940937045 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31315/ |
| lib/matplotlib/tests/test_legend.py | https://github.com/matplotlib/matplotlib/pull/31315/files/f6c86c406c9b63f7f43a7e14cfad0de2c8a7d3ce#diff-1b573023d84935306a147bec7f137e59ae79c3d4f3bbea81152eb0c94b58a579 |
| timhoffm | https://github.com/timhoffm |
| Mar 16, 2026 | https://github.com/matplotlib/matplotlib/pull/31315/#discussion_r2940966233 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31315/ |
| EncryptedDoom | https://github.com/EncryptedDoom |
| Mar 16, 2026 | https://github.com/matplotlib/matplotlib/pull/31315/#discussion_r2941020691 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31315/ |
| https://github.com/timhoffm |
| timhoffm | https://github.com/timhoffm |
|
Mar 16, 2026
| https://github.com/matplotlib/matplotlib/pull/31315/#pullrequestreview-3954528217 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/31315/files/11fd39a7d6d063d106c1352671abc4b1be7f3f62 |
| lib/matplotlib/tests/test_legend.py | https://github.com/matplotlib/matplotlib/pull/31315/files/11fd39a7d6d063d106c1352671abc4b1be7f3f62#diff-1b573023d84935306a147bec7f137e59ae79c3d4f3bbea81152eb0c94b58a579 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31315/ |
| EncryptedDoom | https://github.com/EncryptedDoom |
| March 16, 2026 20:36 | https://github.com/matplotlib/matplotlib/pull/31315/#commits-pushed-36c98c1 |
|
| https://github.com/EncryptedDoom |
| Fix indentation for test_legend_mismatched_positional_args | https://github.com/matplotlib/matplotlib/pull/31315/commits/36c98c193e2e27209907737f92318d53663da105 |
| 36c98c1 | https://github.com/matplotlib/matplotlib/pull/31315/commits/36c98c193e2e27209907737f92318d53663da105 |
|
| https://github.com/EncryptedDoom |
|
| https://github.com/timhoffm |
| Update lib/matplotlib/legend.py | https://github.com/matplotlib/matplotlib/pull/31315/commits/741c82bba1ee91ecbcd1f2840634b6fdf55e6c90 |
| 741c82b | https://github.com/matplotlib/matplotlib/pull/31315/commits/741c82bba1ee91ecbcd1f2840634b6fdf55e6c90 |
|
| https://github.com/EncryptedDoom |
| Rename test for legend mismatched arguments | https://github.com/matplotlib/matplotlib/pull/31315/commits/8a4de9e66d30fd70eedaec93193684603ee54b59 |
| 8a4de9e | https://github.com/matplotlib/matplotlib/pull/31315/commits/8a4de9e66d30fd70eedaec93193684603ee54b59 |
|
| https://github.com/EncryptedDoom |
|
| https://github.com/timhoffm |
| Update lib/matplotlib/tests/test_legend.py | https://github.com/matplotlib/matplotlib/pull/31315/commits/b4fd2c1bbba0344aa4c04b255311c584892210a0 |
| b4fd2c1 | https://github.com/matplotlib/matplotlib/pull/31315/commits/b4fd2c1bbba0344aa4c04b255311c584892210a0 |
| https://github.com/rcomer |
| rcomer | https://github.com/rcomer |
|
Mar 16, 2026
| https://github.com/matplotlib/matplotlib/pull/31315/#pullrequestreview-3955058073 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/31315/files/b4fd2c1bbba0344aa4c04b255311c584892210a0 |
| lib/matplotlib/tests/test_legend.py | https://github.com/matplotlib/matplotlib/pull/31315/files/b4fd2c1bbba0344aa4c04b255311c584892210a0#diff-1b573023d84935306a147bec7f137e59ae79c3d4f3bbea81152eb0c94b58a579 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31315/ |
| EncryptedDoom | https://github.com/EncryptedDoom |
| March 16, 2026 23:35 | https://github.com/matplotlib/matplotlib/pull/31315/#commits-pushed-d1cf688 |
|
| https://github.com/EncryptedDoom |
| Implement warning test for legend handle-label mismatch | https://github.com/matplotlib/matplotlib/pull/31315/commits/d1cf688dd4e56234777246317e893b8ffb42b1da |
| d1cf688 | https://github.com/matplotlib/matplotlib/pull/31315/commits/d1cf688dd4e56234777246317e893b8ffb42b1da |
|
| https://github.com/EncryptedDoom |
| Add test for legend position argument handling | https://github.com/matplotlib/matplotlib/pull/31315/commits/a6eaea528c5af191c6ef69109940bc5a98a25081 |
| a6eaea5 | https://github.com/matplotlib/matplotlib/pull/31315/commits/a6eaea528c5af191c6ef69109940bc5a98a25081 |
|
| https://github.com/EncryptedDoom |
| Update warning message for legend handle mismatch | https://github.com/matplotlib/matplotlib/pull/31315/commits/94a97adcd2544b56ba7614e5c35f3a6f6d30270c |
| 94a97ad | https://github.com/matplotlib/matplotlib/pull/31315/commits/94a97adcd2544b56ba7614e5c35f3a6f6d30270c |
|
| https://github.com/EncryptedDoom |
| Fix legend creation with list of labels | https://github.com/matplotlib/matplotlib/pull/31315/commits/7ecee3cb61fbeb0ec3797d1eac129211869fbf9f |
| 7ecee3c | https://github.com/matplotlib/matplotlib/pull/31315/commits/7ecee3cb61fbeb0ec3797d1eac129211869fbf9f |
| https://github.com/timhoffm |
| timhoffm | https://github.com/timhoffm |
|
Mar 16, 2026
| https://github.com/matplotlib/matplotlib/pull/31315/#pullrequestreview-3957393532 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/31315/files/b00fb58c648b197ef08afca66f82b645edbf1fc7 |
| https://github.com/timhoffm |
| timhoffm | https://github.com/timhoffm |
|
Mar 16, 2026
| https://github.com/matplotlib/matplotlib/pull/31315/#pullrequestreview-3957403743 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/31315/files/7ecee3cb61fbeb0ec3797d1eac129211869fbf9f |
| timhoffm | https://github.com/timhoffm |
| https://github.com/matplotlib/matplotlib/pull/31315/#pullrequestreview-3957403743 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31315/ |
| EncryptedDoom | https://github.com/EncryptedDoom |
| March 17, 2026 12:46 | https://github.com/matplotlib/matplotlib/pull/31315/#commits-pushed-b00fb58 |
|
| https://github.com/EncryptedDoom |
| Merge branch 'matplotlib:main' into main | https://github.com/matplotlib/matplotlib/pull/31315/commits/b00fb58c648b197ef08afca66f82b645edbf1fc7 |
| b00fb58 | https://github.com/matplotlib/matplotlib/pull/31315/commits/b00fb58c648b197ef08afca66f82b645edbf1fc7 |
|
| https://github.com/EncryptedDoom |
| gracefully handle generators in mismatch warning | https://github.com/matplotlib/matplotlib/pull/31315/commits/b66aed1c8fe4e98eaa6210ff6cc06a2d04dcee28 |
| b66aed1 | https://github.com/matplotlib/matplotlib/pull/31315/commits/b66aed1c8fe4e98eaa6210ff6cc06a2d04dcee28 |
| https://github.com/EncryptedDoom |
| EncryptedDoom | https://github.com/EncryptedDoom |
| Mar 17, 2026 | https://github.com/matplotlib/matplotlib/pull/31315/#issuecomment-4072917202 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31315/ |
| https://github.com/timhoffm |
| timhoffm | https://github.com/timhoffm |
|
Mar 17, 2026
| https://github.com/matplotlib/matplotlib/pull/31315/#pullrequestreview-3958789075 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/31315/files/b66aed1c8fe4e98eaa6210ff6cc06a2d04dcee28 |
| lib/matplotlib/legend.py | https://github.com/matplotlib/matplotlib/pull/31315/files/b66aed1c8fe4e98eaa6210ff6cc06a2d04dcee28#diff-e7a00bb4a353fa623c1d0c1de5c6ca602b7ab38e8906d4842640983133b9196a |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31315/ |
| EncryptedDoom | https://github.com/EncryptedDoom |
| March 17, 2026 13:23 | https://github.com/matplotlib/matplotlib/pull/31315/#commits-pushed-a70436f |
|
| https://github.com/EncryptedDoom |
| Update warning message for legend handle mismatch | https://github.com/matplotlib/matplotlib/pull/31315/commits/a70436f4eb74d2b3369136eb8ae304810c9b9a07 |
| a70436f | https://github.com/matplotlib/matplotlib/pull/31315/commits/a70436f4eb74d2b3369136eb8ae304810c9b9a07 |
|
| https://github.com/EncryptedDoom |
|
| https://github.com/timhoffm |
| Update lib/matplotlib/legend.py | https://github.com/matplotlib/matplotlib/pull/31315/commits/8aa5415a9f8ea50da91c06bede0e83930295930b |
| 8aa5415 | https://github.com/matplotlib/matplotlib/pull/31315/commits/8aa5415a9f8ea50da91c06bede0e83930295930b |
| https://github.com/rcomer |
| rcomer | https://github.com/rcomer |
|
Mar 17, 2026
| https://github.com/matplotlib/matplotlib/pull/31315/#pullrequestreview-3961260580 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/31315/files/8aa5415a9f8ea50da91c06bede0e83930295930b |
| https://github.com/rcomer |
| rcomer | https://github.com/rcomer |
| dfa19f6 | https://github.com/matplotlib/matplotlib/commit/dfa19f6fe43a9f4d9c5b51683a6125eb797e554d |
| Mar 17, 2026 | https://github.com/matplotlib/matplotlib/pull/31315#event-23646533182 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31315/ |
| https://github.com/rcomer |
| rcomer | https://github.com/rcomer |
| v3.11.0 | https://github.com/matplotlib/matplotlib/milestone/96 |
| Mar 17, 2026 | https://github.com/matplotlib/matplotlib/pull/31315/#event-23646540312 |
| https://github.com/rcomer |
| rcomer | https://github.com/rcomer |
| Mar 17, 2026 | https://github.com/matplotlib/matplotlib/pull/31315/#issuecomment-4075445619 |
| @EncryptedDoom | https://github.com/EncryptedDoom |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31315/ |
| https://github.com/EncryptedDoom |
| EncryptedDoom | https://github.com/EncryptedDoom |
| Mar 18, 2026 | https://github.com/matplotlib/matplotlib/pull/31315/#issuecomment-4080421588 |
| @EncryptedDoom | https://github.com/EncryptedDoom |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31315/ |
| AMAN194701 | https://github.com/AMAN194701 |
|
Apr 1, 2026
| https://github.com/matplotlib/matplotlib/pull/31315/#ref-commit-610376c |
|
| https://github.com/EncryptedDoom |
|
| https://github.com/timhoffm |
|
| https://github.com/AMAN194701 |
| [BUG] Warn when legend() receives mismatched handles and labels in 2-… | https://github.com/AMAN194701/matplotlib/commit/610376c9a0e244538ab0703e26a64ee3574b64b3 |
| 610376c | https://github.com/AMAN194701/matplotlib/commit/610376c9a0e244538ab0703e26a64ee3574b64b3 |
| matplotlib#31315 | https://github.com/matplotlib/matplotlib/pull/31315 |
| https://github.co/hiddenchars |
| https://github.com/matplotlib/matplotlib/pull/31315/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F31315%2F |
|
| https://github.com/timhoffm |
|
timhoffm
| https://github.com/timhoffm |
|
| https://github.com/matplotlib/matplotlib/pull/31315/files/b66aed1c8fe4e98eaa6210ff6cc06a2d04dcee28 |
|
| https://github.com/rcomer |
|
rcomer
| https://github.com/rcomer |
|
| https://github.com/matplotlib/matplotlib/pull/31315/files/8aa5415a9f8ea50da91c06bede0e83930295930b |
|
topic: legend
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20legend%22 |
|
v3.11.0
| https://github.com/matplotlib/matplotlib/milestone/96 |
|
No error message in matplotlib.axes.Axes.legend() if there are more labels than handles
| https://github.com/matplotlib/matplotlib/issues/24050 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31315/ |
|
| https://github.com/EncryptedDoom |
|
| https://github.com/rcomer |
|
| https://github.com/timhoffm |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |