René's URL Explorer Experiment


Title: [BUG] Warn when legend() receives mismatched handles and labels in 2-argument positional form by EncryptedDoom · Pull Request #31315 · matplotlib/matplotlib · GitHub

Open Graph Title: [BUG] Warn when legend() receives mismatched handles and labels in 2-argument positional form by EncryptedDoom · Pull Request #31315 · matplotlib/matplotlib

X Title: [BUG] Warn when legend() receives mismatched handles and labels in 2-argument positional form by EncryptedDoom · Pull Request #31315 · matplotlib/matplotlib

Description: matplotlib: plotting with Python. Contribute to matplotlib/matplotlib development by creating an account on GitHub.

Open Graph Description: 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...

X Description: 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...

Opengraph URL: https://github.com/matplotlib/matplotlib/pull/31315

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:b97aa4fb-9f83-4546-8da9-44defae565b4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEB42:1EFAFB:6D8841:93BDE9:6A52A347
html-safe-nonce8f42391bf3ab233375dd38f89b43ddd694cf10e7d6603f06e371b8787c674434
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjQyOjFFRkFGQjo2RDg4NDE6OTNCREU5OjZBNTJBMzQ3IiwidmlzaXRvcl9pZCI6IjMxNjQ0MTU5MTU1ODk4MDQ4NzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb89fa331e9e465d0c0bb688c1168bcca84c27d8105ce9bf56555357cda67afcf
hovercard-subject-tagpull_request:3404611643
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/matplotlib/matplotlib/31315/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/544edcc8fc6ba224373e53621903b07280fb5167cbf21a7308d6937471e339e6/matplotlib/matplotlib/pull/31315
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/544edcc8fc6ba224373e53621903b07280fb5167cbf21a7308d6937471e339e6/matplotlib/matplotlib/pull/31315
og:image:altPR 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameEncryptedDoom
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
go-importgithub.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git
octolytics-dimension-user_id215947
octolytics-dimension-user_loginmatplotlib
octolytics-dimension-repository_id1385122
octolytics-dimension-repository_nwomatplotlib/matplotlib
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1385122
octolytics-dimension-repository_network_root_nwomatplotlib/matplotlib
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://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 AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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
Reloadhttps://github.com/matplotlib/matplotlib/pull/31315/
Reloadhttps://github.com/matplotlib/matplotlib/pull/31315/
Reloadhttps://github.com/matplotlib/matplotlib/pull/31315/
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31315/
matplotlib https://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Please reload this pagehttps://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
rcomerhttps://github.com/rcomer
matplotlib:mainhttps://github.com/matplotlib/matplotlib/tree/main
Conversationhttps://github.com/matplotlib/matplotlib/pull/31315
Commits15 (15)https://github.com/matplotlib/matplotlib/pull/31315/commits
Checkshttps://github.com/matplotlib/matplotlib/pull/31315/checks
Files changedhttps://github.com/matplotlib/matplotlib/pull/31315/files
[BUG] Warn when legend() receives mismatched handles and labels in 2-argument positional formhttps://github.com/matplotlib/matplotlib/pull/31315/#top
rcomerhttps://github.com/rcomer
matplotlib:mainhttps://github.com/matplotlib/matplotlib/tree/main
https://github.com/EncryptedDoom
EncryptedDoomhttps://github.com/EncryptedDoom
Mar 16, 2026https://github.com/matplotlib/matplotlib/pull/31315/#issue-4082645302
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31315/
#24050https://github.com/matplotlib/matplotlib/issues/24050
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31315/
EncryptedDoomhttps://github.com/EncryptedDoom
March 16, 2026 19:11https://github.com/matplotlib/matplotlib/pull/31315/#commits-pushed-6ddad0a
https://github.com/EncryptedDoom
Implement warning for mismatched legend handles and labelshttps://github.com/matplotlib/matplotlib/pull/31315/commits/6ddad0a7d3cefad94a20bfc11dc95496ab651396
6ddad0ahttps://github.com/matplotlib/matplotlib/pull/31315/commits/6ddad0a7d3cefad94a20bfc11dc95496ab651396
https://github.com/EncryptedDoom
Add regression test for legend argument mismatchhttps://github.com/matplotlib/matplotlib/pull/31315/commits/f6c86c406c9b63f7f43a7e14cfad0de2c8a7d3ce
f6c86c4https://github.com/matplotlib/matplotlib/pull/31315/commits/f6c86c406c9b63f7f43a7e14cfad0de2c8a7d3ce
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Mar 16, 2026https://github.com/matplotlib/matplotlib/pull/31315/#issuecomment-4067845215
on gitterhttps://gitter.im/matplotlib/matplotlib
the developer guidehttps://matplotlib.org/devdocs/devel/index.html
Code of Conducthttps://github.com/matplotlib/matplotlib/blob/main/CODE_OF_CONDUCT.md
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31315/
https://github.com/apps/github-actions
github-actionshttps://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, 2026https://github.com/matplotlib/matplotlib/pull/31315/#event-23608590064
https://github.com/EncryptedDoom
Fix regression test message for legend mismatchhttps://github.com/matplotlib/matplotlib/pull/31315/commits/11fd39a7d6d063d106c1352671abc4b1be7f3f62
11fd39ahttps://github.com/matplotlib/matplotlib/pull/31315/commits/11fd39a7d6d063d106c1352671abc4b1be7f3f62
https://github.com/timhoffm
timhoffmhttps://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.pyhttps://github.com/matplotlib/matplotlib/pull/31315/files/f6c86c406c9b63f7f43a7e14cfad0de2c8a7d3ce#diff-e7a00bb4a353fa623c1d0c1de5c6ca602b7ab38e8906d4842640983133b9196a
timhoffmhttps://github.com/timhoffm
Mar 16, 2026https://github.com/matplotlib/matplotlib/pull/31315/#discussion_r2940937045
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31315/
lib/matplotlib/tests/test_legend.pyhttps://github.com/matplotlib/matplotlib/pull/31315/files/f6c86c406c9b63f7f43a7e14cfad0de2c8a7d3ce#diff-1b573023d84935306a147bec7f137e59ae79c3d4f3bbea81152eb0c94b58a579
timhoffmhttps://github.com/timhoffm
Mar 16, 2026https://github.com/matplotlib/matplotlib/pull/31315/#discussion_r2940966233
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31315/
EncryptedDoomhttps://github.com/EncryptedDoom
Mar 16, 2026https://github.com/matplotlib/matplotlib/pull/31315/#discussion_r2941020691
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31315/
https://github.com/timhoffm
timhoffmhttps://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.pyhttps://github.com/matplotlib/matplotlib/pull/31315/files/11fd39a7d6d063d106c1352671abc4b1be7f3f62#diff-1b573023d84935306a147bec7f137e59ae79c3d4f3bbea81152eb0c94b58a579
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31315/
EncryptedDoomhttps://github.com/EncryptedDoom
March 16, 2026 20:36https://github.com/matplotlib/matplotlib/pull/31315/#commits-pushed-36c98c1
https://github.com/EncryptedDoom
Fix indentation for test_legend_mismatched_positional_argshttps://github.com/matplotlib/matplotlib/pull/31315/commits/36c98c193e2e27209907737f92318d53663da105
36c98c1https://github.com/matplotlib/matplotlib/pull/31315/commits/36c98c193e2e27209907737f92318d53663da105
https://github.com/EncryptedDoom
https://github.com/timhoffm
Update lib/matplotlib/legend.pyhttps://github.com/matplotlib/matplotlib/pull/31315/commits/741c82bba1ee91ecbcd1f2840634b6fdf55e6c90
741c82bhttps://github.com/matplotlib/matplotlib/pull/31315/commits/741c82bba1ee91ecbcd1f2840634b6fdf55e6c90
https://github.com/EncryptedDoom
Rename test for legend mismatched argumentshttps://github.com/matplotlib/matplotlib/pull/31315/commits/8a4de9e66d30fd70eedaec93193684603ee54b59
8a4de9ehttps://github.com/matplotlib/matplotlib/pull/31315/commits/8a4de9e66d30fd70eedaec93193684603ee54b59
https://github.com/EncryptedDoom
https://github.com/timhoffm
Update lib/matplotlib/tests/test_legend.pyhttps://github.com/matplotlib/matplotlib/pull/31315/commits/b4fd2c1bbba0344aa4c04b255311c584892210a0
b4fd2c1https://github.com/matplotlib/matplotlib/pull/31315/commits/b4fd2c1bbba0344aa4c04b255311c584892210a0
https://github.com/rcomer
rcomerhttps://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.pyhttps://github.com/matplotlib/matplotlib/pull/31315/files/b4fd2c1bbba0344aa4c04b255311c584892210a0#diff-1b573023d84935306a147bec7f137e59ae79c3d4f3bbea81152eb0c94b58a579
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31315/
EncryptedDoomhttps://github.com/EncryptedDoom
March 16, 2026 23:35https://github.com/matplotlib/matplotlib/pull/31315/#commits-pushed-d1cf688
https://github.com/EncryptedDoom
Implement warning test for legend handle-label mismatchhttps://github.com/matplotlib/matplotlib/pull/31315/commits/d1cf688dd4e56234777246317e893b8ffb42b1da
d1cf688https://github.com/matplotlib/matplotlib/pull/31315/commits/d1cf688dd4e56234777246317e893b8ffb42b1da
https://github.com/EncryptedDoom
Add test for legend position argument handlinghttps://github.com/matplotlib/matplotlib/pull/31315/commits/a6eaea528c5af191c6ef69109940bc5a98a25081
a6eaea5https://github.com/matplotlib/matplotlib/pull/31315/commits/a6eaea528c5af191c6ef69109940bc5a98a25081
https://github.com/EncryptedDoom
Update warning message for legend handle mismatchhttps://github.com/matplotlib/matplotlib/pull/31315/commits/94a97adcd2544b56ba7614e5c35f3a6f6d30270c
94a97adhttps://github.com/matplotlib/matplotlib/pull/31315/commits/94a97adcd2544b56ba7614e5c35f3a6f6d30270c
https://github.com/EncryptedDoom
Fix legend creation with list of labelshttps://github.com/matplotlib/matplotlib/pull/31315/commits/7ecee3cb61fbeb0ec3797d1eac129211869fbf9f
7ecee3chttps://github.com/matplotlib/matplotlib/pull/31315/commits/7ecee3cb61fbeb0ec3797d1eac129211869fbf9f
https://github.com/timhoffm
timhoffmhttps://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
timhoffmhttps://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
timhoffmhttps://github.com/timhoffm
https://github.com/matplotlib/matplotlib/pull/31315/#pullrequestreview-3957403743
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31315/
EncryptedDoomhttps://github.com/EncryptedDoom
March 17, 2026 12:46https://github.com/matplotlib/matplotlib/pull/31315/#commits-pushed-b00fb58
https://github.com/EncryptedDoom
Merge branch 'matplotlib:main' into mainhttps://github.com/matplotlib/matplotlib/pull/31315/commits/b00fb58c648b197ef08afca66f82b645edbf1fc7
b00fb58https://github.com/matplotlib/matplotlib/pull/31315/commits/b00fb58c648b197ef08afca66f82b645edbf1fc7
https://github.com/EncryptedDoom
gracefully handle generators in mismatch warninghttps://github.com/matplotlib/matplotlib/pull/31315/commits/b66aed1c8fe4e98eaa6210ff6cc06a2d04dcee28
b66aed1https://github.com/matplotlib/matplotlib/pull/31315/commits/b66aed1c8fe4e98eaa6210ff6cc06a2d04dcee28
https://github.com/EncryptedDoom
EncryptedDoomhttps://github.com/EncryptedDoom
Mar 17, 2026https://github.com/matplotlib/matplotlib/pull/31315/#issuecomment-4072917202
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31315/
https://github.com/timhoffm
timhoffmhttps://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.pyhttps://github.com/matplotlib/matplotlib/pull/31315/files/b66aed1c8fe4e98eaa6210ff6cc06a2d04dcee28#diff-e7a00bb4a353fa623c1d0c1de5c6ca602b7ab38e8906d4842640983133b9196a
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31315/
EncryptedDoomhttps://github.com/EncryptedDoom
March 17, 2026 13:23https://github.com/matplotlib/matplotlib/pull/31315/#commits-pushed-a70436f
https://github.com/EncryptedDoom
Update warning message for legend handle mismatchhttps://github.com/matplotlib/matplotlib/pull/31315/commits/a70436f4eb74d2b3369136eb8ae304810c9b9a07
a70436fhttps://github.com/matplotlib/matplotlib/pull/31315/commits/a70436f4eb74d2b3369136eb8ae304810c9b9a07
https://github.com/EncryptedDoom
https://github.com/timhoffm
Update lib/matplotlib/legend.pyhttps://github.com/matplotlib/matplotlib/pull/31315/commits/8aa5415a9f8ea50da91c06bede0e83930295930b
8aa5415https://github.com/matplotlib/matplotlib/pull/31315/commits/8aa5415a9f8ea50da91c06bede0e83930295930b
https://github.com/rcomer
rcomerhttps://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
rcomerhttps://github.com/rcomer
dfa19f6https://github.com/matplotlib/matplotlib/commit/dfa19f6fe43a9f4d9c5b51683a6125eb797e554d
Mar 17, 2026https://github.com/matplotlib/matplotlib/pull/31315#event-23646533182
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31315/
https://github.com/rcomer
rcomerhttps://github.com/rcomer
v3.11.0https://github.com/matplotlib/matplotlib/milestone/96
Mar 17, 2026https://github.com/matplotlib/matplotlib/pull/31315/#event-23646540312
https://github.com/rcomer
rcomerhttps://github.com/rcomer
Mar 17, 2026https://github.com/matplotlib/matplotlib/pull/31315/#issuecomment-4075445619
@EncryptedDoomhttps://github.com/EncryptedDoom
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31315/
https://github.com/EncryptedDoom
EncryptedDoomhttps://github.com/EncryptedDoom
Mar 18, 2026https://github.com/matplotlib/matplotlib/pull/31315/#issuecomment-4080421588
@EncryptedDoomhttps://github.com/EncryptedDoom
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31315/
AMAN194701https://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
610376chttps://github.com/AMAN194701/matplotlib/commit/610376c9a0e244538ab0703e26a64ee3574b64b3
matplotlib#31315https://github.com/matplotlib/matplotlib/pull/31315
https://github.co/hiddenchars
https://github.com/matplotlib/matplotlib/pull/31315/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://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 pagehttps://github.com/matplotlib/matplotlib/pull/31315/
https://github.com/EncryptedDoom
https://github.com/rcomer
https://github.com/timhoffm
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.