| 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:910a4a36-3514-d325-fd7c-a745c006a7bb |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C63C:1AF501:249FF6E:30C9889:6A520552 |
| html-safe-nonce | 8b58b04bd391d79d68d967d24cfd4972296a5e3468d250dd0022ed2d42bb5eb4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjNDOjFBRjUwMToyNDlGRjZFOjMwQzk4ODk6NkE1MjA1NTIiLCJ2aXNpdG9yX2lkIjoiNDgxMDA5NTY2MzY5NzIzMzIzNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 51794c0828fa997bdc4d36f71b23eff5675b2f2caa5ac71068e547d1527f77b0 |
| hovercard-subject-tag | pull_request:2608965059 |
| 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/30202/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/16941695ac7aec146b73517917c6c3879c46f13ce4f3bc3890700fdbb00040e3/matplotlib/matplotlib/pull/30202 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/16941695ac7aec146b73517917c6c3879c46f13ce4f3bc3890700fdbb00040e3/matplotlib/matplotlib/pull/30202 |
| og:image:alt | PR summary
This PR update lib/matplotlib/pyplot.py to add overloads for the following methods:
subplot
show
PR checklist
Closes [MNT]: pyplot type hints #30160
Changed code is tested |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ZPyrolink |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/matplotlib/matplotlib/pull/30202/#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F30202%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%2F30202%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/30202/ |
| Reload | https://github.com/matplotlib/matplotlib/pull/30202/ |
| Reload | https://github.com/matplotlib/matplotlib/pull/30202/ |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/30202/ |
|
matplotlib
| https://github.com/matplotlib |
| matplotlib | https://github.com/matplotlib/matplotlib |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/30202/ |
|
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
409
| 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 |
| QuLogic | https://github.com/QuLogic |
| matplotlib:main | https://github.com/matplotlib/matplotlib/tree/main |
| ZPyrolink:pyplot-overloads | https://github.com/ZPyrolink/matplotlib/tree/pyplot-overloads |
| Conversation | https://github.com/matplotlib/matplotlib/pull/30202 |
| Commits7 (7) | https://github.com/matplotlib/matplotlib/pull/30202/commits |
| Checks | https://github.com/matplotlib/matplotlib/pull/30202/checks |
| Files changed | https://github.com/matplotlib/matplotlib/pull/30202/files |
| Add explicit overloads for pyplot.{show,subplot} | https://github.com/matplotlib/matplotlib/pull/30202/#top |
| QuLogic | https://github.com/QuLogic |
| matplotlib:main | https://github.com/matplotlib/matplotlib/tree/main |
| ZPyrolink:pyplot-overloads | https://github.com/ZPyrolink/matplotlib/tree/pyplot-overloads |
|
| https://github.com/ZPyrolink |
| ZPyrolink | https://github.com/ZPyrolink |
| Jun 21, 2025 | https://github.com/matplotlib/matplotlib/pull/30202/#issue-3165014271 |
| [MNT]: pyplot type hints #30160 | https://github.com/matplotlib/matplotlib/issues/30160 |
| tested | https://matplotlib.org/devdocs/devel/testing.html |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/30202/ |
| CorenthinZ | https://github.com/CorenthinZ |
| June 21, 2025 12:58 | https://github.com/matplotlib/matplotlib/pull/30202/#commits-pushed-162cc97 |
|
| https://github.com/CorenthinZ |
| Create show overloads on pyplot.py | https://github.com/matplotlib/matplotlib/pull/30202/commits/162cc97420a705a4d5a714d0c3fecde8919585e9 |
| 162cc97 | https://github.com/matplotlib/matplotlib/pull/30202/commits/162cc97420a705a4d5a714d0c3fecde8919585e9 |
| 1ff2bd2 | https://github.com/ZPyrolink/matplotlib/commit/1ff2bd2be6ab4610b9c59e5d44c44bdcdfda7241 |
|
| https://github.com/CorenthinZ |
| Create subplot overloads on pyplot.py | https://github.com/matplotlib/matplotlib/pull/30202/commits/36299b62a2b1ae3be1363044e779da06b6d120ba |
| 36299b6 | https://github.com/matplotlib/matplotlib/pull/30202/commits/36299b62a2b1ae3be1363044e779da06b6d120ba |
| f4693e3 | https://github.com/ZPyrolink/matplotlib/commit/f4693e3c984f4775e29c3d10e48f58ae7de84e98 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
topic: pyplot API
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20pyplot%20API%22 |
| Jun 21, 2025 | https://github.com/matplotlib/matplotlib/pull/30202/#event-18256880606 |
| https://github.com/ZPyrolink |
| ZPyrolink | https://github.com/ZPyrolink |
|
Jun 21, 2025
| https://github.com/matplotlib/matplotlib/pull/30202/#ref-pullrequest-3164062415 |
|
Update type hints to fix #30160
#30193
| https://github.com/matplotlib/matplotlib/pull/30193 |
| https://github.com/ZPyrolink |
| ZPyrolink | https://github.com/ZPyrolink |
| Jun 21, 2025 | https://github.com/matplotlib/matplotlib/pull/30202/#event-18256893547 |
| https://github.com/timhoffm |
| timhoffm | https://github.com/timhoffm |
|
Jun 21, 2025
| https://github.com/matplotlib/matplotlib/pull/30202/#pullrequestreview-2947807347 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/30202/files/36299b62a2b1ae3be1363044e779da06b6d120ba |
| https://github.com/melissawm |
| melissawm | https://github.com/melissawm |
| First Time Contributors | https://github.com/orgs/matplotlib/projects/1 |
| Jun 23, 2025 | https://github.com/matplotlib/matplotlib/pull/30202/#event-18275665767 |
| https://github.com/melissawm |
| melissawm | https://github.com/melissawm |
| First Time Contributors | https://github.com/orgs/matplotlib/projects/1 |
| Jun 23, 2025 | https://github.com/matplotlib/matplotlib/pull/30202/#event-18275668973 |
| https://github.com/QuLogic |
| QuLogic | https://github.com/QuLogic |
| Jun 23, 2025 | https://github.com/matplotlib/matplotlib/pull/30202/#event-18280152904 |
| https://github.com/QuLogic |
| QuLogic | https://github.com/QuLogic |
|
topic: typing
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20typing%22 |
| Jun 23, 2025 | https://github.com/matplotlib/matplotlib/pull/30202/#event-18280168897 |
| https://github.com/QuLogic |
| QuLogic | https://github.com/QuLogic |
|
Jun 23, 2025
| https://github.com/matplotlib/matplotlib/pull/30202/#pullrequestreview-2951684727 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/30202/files/36299b62a2b1ae3be1363044e779da06b6d120ba |
| lib/matplotlib/pyplot.py | https://github.com/matplotlib/matplotlib/pull/30202/files/36299b62a2b1ae3be1363044e779da06b6d120ba#diff-d1edb5a528e7423f485b24cac2083d05d365a19352f886bf15af3ef442bdda92 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/30202/ |
| lib/matplotlib/pyplot.py | https://github.com/matplotlib/matplotlib/pull/30202/files/36299b62a2b1ae3be1363044e779da06b6d120ba#diff-d1edb5a528e7423f485b24cac2083d05d365a19352f886bf15af3ef442bdda92 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/30202/ |
| ZPyrolink | https://github.com/ZPyrolink |
| June 24, 2025 17:45 | https://github.com/matplotlib/matplotlib/pull/30202/#commits-pushed-ad14a98 |
|
| https://github.com/ZPyrolink |
| Removed subplot(Axes) on overloads and docstring | https://github.com/matplotlib/matplotlib/pull/30202/commits/ad14a98531631fd959017190e9f4880698563572 |
| ad14a98 | https://github.com/matplotlib/matplotlib/pull/30202/commits/ad14a98531631fd959017190e9f4880698563572 |
|
| https://github.com/ZPyrolink |
| Update show overloads | https://github.com/matplotlib/matplotlib/pull/30202/commits/603c082fff4e253b6ae88e89806276994639044d |
| 603c082 | https://github.com/matplotlib/matplotlib/pull/30202/commits/603c082fff4e253b6ae88e89806276994639044d |
|
| https://github.com/ZPyrolink |
| Correct mypy error | https://github.com/matplotlib/matplotlib/pull/30202/commits/1061d2a47cfc87791d0bc3d56baaaa39f7ca7178 |
| 1061d2a | https://github.com/matplotlib/matplotlib/pull/30202/commits/1061d2a47cfc87791d0bc3d56baaaa39f7ca7178 |
|
| https://github.com/ZPyrolink |
| Add typing to overloaded copy of show | https://github.com/matplotlib/matplotlib/pull/30202/commits/12c5811ca8f7a626c079a4f41806c6dc9b83543a |
| 12c5811 | https://github.com/matplotlib/matplotlib/pull/30202/commits/12c5811ca8f7a626c079a4f41806c6dc9b83543a |
|
| https://github.com/ZPyrolink |
| Revert superfluous changes | https://github.com/matplotlib/matplotlib/pull/30202/commits/768e69bc4277b9b62ec33dde8232dd7cd81a93fc |
| 768e69b | https://github.com/matplotlib/matplotlib/pull/30202/commits/768e69bc4277b9b62ec33dde8232dd7cd81a93fc |
| https://github.com/timhoffm |
| timhoffm | https://github.com/timhoffm |
|
Jun 27, 2025
| https://github.com/matplotlib/matplotlib/pull/30202/#pullrequestreview-2965599652 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/30202/files/768e69bc4277b9b62ec33dde8232dd7cd81a93fc |
| https://github.com/QuLogic |
| QuLogic | https://github.com/QuLogic |
|
Jun 27, 2025
| https://github.com/matplotlib/matplotlib/pull/30202/#pullrequestreview-2967568308 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/30202/files/768e69bc4277b9b62ec33dde8232dd7cd81a93fc |
| https://github.com/QuLogic |
| QuLogic | https://github.com/QuLogic |
| 4b03f0c | https://github.com/matplotlib/matplotlib/commit/4b03f0c99fc0de819a40def011d6f19fddc2b367 |
| Jun 27, 2025 | https://github.com/matplotlib/matplotlib/pull/30202#event-18362819650 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/30202/ |
| https://github.com/apps/github-project-automation |
| github-project-automation | https://github.com/apps/github-project-automation |
| First Time Contributors | https://github.com/orgs/matplotlib/projects/1 |
| Jun 27, 2025 | https://github.com/matplotlib/matplotlib/pull/30202/#event-18362820159 |
| https://github.com/QuLogic |
| QuLogic | https://github.com/QuLogic |
| v3.11.0 | https://github.com/matplotlib/matplotlib/milestone/96 |
| Jun 27, 2025 | https://github.com/matplotlib/matplotlib/pull/30202/#event-18362820965 |
| https://github.com/QuLogic |
| QuLogic | https://github.com/QuLogic |
| First Time Contributors | https://github.com/orgs/matplotlib/projects/1 |
| Jun 27, 2025 | https://github.com/matplotlib/matplotlib/pull/30202/#event-18362821593 |
| https://github.co/hiddenchars |
| https://github.com/matplotlib/matplotlib/pull/30202/{{ 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%2F30202%2F |
|
| https://github.com/QuLogic |
|
QuLogic
| https://github.com/QuLogic |
|
| https://github.com/matplotlib/matplotlib/pull/30202/files/768e69bc4277b9b62ec33dde8232dd7cd81a93fc |
|
| https://github.com/timhoffm |
|
timhoffm
| https://github.com/timhoffm |
|
| https://github.com/matplotlib/matplotlib/pull/30202/files/768e69bc4277b9b62ec33dde8232dd7cd81a93fc |
|
topic: pyplot API
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20pyplot%20API%22 |
|
topic: typing
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20typing%22 |
|
First Time Contributors
| https://github.com/orgs/matplotlib/projects/1 |
|
v3.11.0
| https://github.com/matplotlib/matplotlib/milestone/96 |
|
[MNT]: pyplot type hints
| https://github.com/matplotlib/matplotlib/issues/30160 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/30202/ |
|
| https://github.com/ZPyrolink |
|
| https://github.com/QuLogic |
|
| https://github.com/timhoffm |
|
| https://github.com/melissawm |
|
| https://github.com/CorenthinZ |
|
| 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 |