| 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:b4622cea-b0c5-6e3a-2140-051283d8c5e9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EB24:14CB0E:137C7B:1AF827:6A523A12 |
| html-safe-nonce | 12e0e70af636d5b67f6a660640879d27e444792a2bb16593d1e91a39ec6a3c94 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjI0OjE0Q0IwRToxMzdDN0I6MUFGODI3OjZBNTIzQTEyIiwidmlzaXRvcl9pZCI6IjcyNTE1NTEzODkxMDg4MTIzMDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f167a94324efe06cac7abac73d62d4a036eb2bdb3c648305766a2244ef5aef9c |
| hovercard-subject-tag | pull_request:1956063900 |
| 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/28518/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/058148498d91660d816c6efe8f73f6ed062bdcc659a256ef76dee58cc6d363f8/matplotlib/matplotlib/pull/28518 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/058148498d91660d816c6efe8f73f6ed062bdcc659a256ef76dee58cc6d363f8/matplotlib/matplotlib/pull/28518 |
| og:image:alt | PR summary
Fixes #27001 (comment)
My solution is to have 3 possible cases:
squeeze=True, nrows=1, ncols=1: Axes
squeeze=True: np.ndarray
squeeze=False: np.ndarray
1 and 3 already existed. 2 is ho... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | adamjstewart |
| 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/28518#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F28518 |
| 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%2F28518 |
|
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/28518 |
| Reload | https://github.com/matplotlib/matplotlib/pull/28518 |
| Reload | https://github.com/matplotlib/matplotlib/pull/28518 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/28518 |
|
matplotlib
| https://github.com/matplotlib |
| matplotlib | https://github.com/matplotlib/matplotlib |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/28518 |
|
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 |
| timhoffm | https://github.com/timhoffm |
| matplotlib:main | https://github.com/matplotlib/matplotlib/tree/main |
| adamjstewart:types/subplots | https://github.com/adamjstewart/matplotlib/tree/types/subplots |
| Conversation | https://github.com/matplotlib/matplotlib/pull/28518 |
| Commits5 (5) | https://github.com/matplotlib/matplotlib/pull/28518/commits |
| Checks | https://github.com/matplotlib/matplotlib/pull/28518/checks |
| Files changed | https://github.com/matplotlib/matplotlib/pull/28518/files |
| [TYP] Fix overload of pyplot.subplots | https://github.com/matplotlib/matplotlib/pull/28518#top |
| timhoffm | https://github.com/timhoffm |
| matplotlib:main | https://github.com/matplotlib/matplotlib/tree/main |
| adamjstewart:types/subplots | https://github.com/adamjstewart/matplotlib/tree/types/subplots |
|
| https://github.com/adamjstewart |
| adamjstewart | https://github.com/adamjstewart |
| Jul 6, 2024 | https://github.com/matplotlib/matplotlib/pull/28518#issue-2393610796 |
| #27001 (comment) | https://github.com/matplotlib/matplotlib/pull/27001#issuecomment-2211785864 |
| link the related issue | https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue |
| tested | https://matplotlib.org/devdocs/devel/testing.html |
| example | https://matplotlib.org/devdocs/devel/document.html#write-examples-and-tutorials |
| directive and release note | https://matplotlib.org/devdocs/devel/api_changes.html#announce-changes-deprecations-and-new-features |
| general | https://matplotlib.org/devdocs/devel/document.html#write-rest-pages |
| docstring | https://matplotlib.org/devdocs/devel/document.html#write-docstrings |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/28518 |
|
| https://github.com/adamjstewart |
| [TYP] Fix overload of pyplot.subplots | https://github.com/matplotlib/matplotlib/pull/28518/commits/613a8e88d6753fcc985760395db35b5d951aa41d |
| 613a8e8 | https://github.com/matplotlib/matplotlib/pull/28518/commits/613a8e88d6753fcc985760395db35b5d951aa41d |
| 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 |
|
topic: figures and subfigures
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20figures%20and%20subfigures%22 |
| Jul 6, 2024 | https://github.com/matplotlib/matplotlib/pull/28518#event-13411786015 |
| https://github.com/adamjstewart |
| adamjstewart | https://github.com/adamjstewart |
|
Jul 6, 2024
| https://github.com/matplotlib/matplotlib/pull/28518#ref-pullrequest-1928141435 |
|
[TYP] Add overload of pyplot.subplots
#27001
| https://github.com/matplotlib/matplotlib/pull/27001 |
| https://github.com/adamjstewart |
| adamjstewart | https://github.com/adamjstewart |
| Jul 6, 2024 | https://github.com/matplotlib/matplotlib/pull/28518#issuecomment-2211817960 |
| #27001 (comment) | https://github.com/matplotlib/matplotlib/pull/27001#issuecomment-2211791536 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/28518 |
| https://github.com/ianthomas23 |
| ianthomas23 | https://github.com/ianthomas23 |
|
Jul 7, 2024
| https://github.com/matplotlib/matplotlib/pull/28518#ref-pullrequest-2394068648 |
|
Workaround for plt.subplots return types
contourpy/contourpy#402
| https://github.com/contourpy/contourpy/pull/402 |
|
| https://github.com/adamjstewart |
| Simplify the stub | https://github.com/matplotlib/matplotlib/pull/28518/commits/23adb361b96f628293f9d56464ec312921536b93 |
| 23adb36 | https://github.com/matplotlib/matplotlib/pull/28518/commits/23adb361b96f628293f9d56464ec312921536b93 |
| https://github.com/adamjstewart |
| adamjstewart | https://github.com/adamjstewart |
| Jul 10, 2024 | https://github.com/matplotlib/matplotlib/pull/28518#issuecomment-2221122580 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/28518 |
| adamjstewart | https://github.com/adamjstewart |
| July 10, 2024 21:58 | https://github.com/matplotlib/matplotlib/pull/28518#commits-pushed-64cac36 |
|
| https://github.com/adamjstewart |
| Simplify the code | https://github.com/matplotlib/matplotlib/pull/28518/commits/64cac364f678c5d34e1b12da6a02c231b8eb2f7a |
| 64cac36 | https://github.com/matplotlib/matplotlib/pull/28518/commits/64cac364f678c5d34e1b12da6a02c231b8eb2f7a |
|
| https://github.com/adamjstewart |
| Code needs two overloads | https://github.com/matplotlib/matplotlib/pull/28518/commits/c7a128eec1123866183d412947270ab2c2b11ebc |
| c7a128e | https://github.com/matplotlib/matplotlib/pull/28518/commits/c7a128eec1123866183d412947270ab2c2b11ebc |
| https://github.com/ksunden |
| ksunden | https://github.com/ksunden |
| Jul 11, 2024 | https://github.com/matplotlib/matplotlib/pull/28518#issuecomment-2221825976 |
| #27001 (review) | https://github.com/matplotlib/matplotlib/pull/27001#pullrequestreview-1660274068 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/28518 |
|
| https://github.com/adamjstewart |
| Avoid union for dynamic type hints | https://github.com/matplotlib/matplotlib/pull/28518/commits/4242506cd51bb635af41d9fb10a08469bca66d46 |
| 4242506 | https://github.com/matplotlib/matplotlib/pull/28518/commits/4242506cd51bb635af41d9fb10a08469bca66d46 |
| https://github.com/adamjstewart |
| adamjstewart | https://github.com/adamjstewart |
| Jul 11, 2024 | https://github.com/matplotlib/matplotlib/pull/28518#issuecomment-2222334373 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/28518 |
| Any | https://docs.python.org/3/library/typing.html#the-any-type |
| 1 | https://github.com/matplotlib/matplotlib/pull/28518#user-content-fn-1-4596c4424a8cca59cb2ff2b1d91ca42d |
| 2 | https://github.com/matplotlib/matplotlib/pull/28518#user-content-fn-2-4596c4424a8cca59cb2ff2b1d91ca42d |
| https://github.com/python/mypy/issues/1693 | https://github.com/python/mypy/issues/1693 |
| ↩ | https://github.com/matplotlib/matplotlib/pull/28518#user-content-fnref-1-4596c4424a8cca59cb2ff2b1d91ca42d |
| https://github.com/python/typing/issues/566 | https://github.com/python/typing/issues/566 |
| ↩ | https://github.com/matplotlib/matplotlib/pull/28518#user-content-fnref-2-4596c4424a8cca59cb2ff2b1d91ca42d |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/28518 |
| https://github.com/adamjstewart |
| adamjstewart | https://github.com/adamjstewart |
| Jul 17, 2024 | https://github.com/matplotlib/matplotlib/pull/28518#issuecomment-2234169764 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/28518 |
| https://github.com/adamjstewart |
| adamjstewart | https://github.com/adamjstewart |
|
Jul 18, 2024
| https://github.com/matplotlib/matplotlib/pull/28518#ref-pullrequest-2383745184 |
|
datamodules: Switch to kornia AugmentationSequential
torchgeo/torchgeo#2147
| https://github.com/torchgeo/torchgeo/pull/2147 |
| https://github.com/ksunden |
| ksunden | https://github.com/ksunden |
|
Jul 19, 2024
| https://github.com/matplotlib/matplotlib/pull/28518#pullrequestreview-2188856685 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/28518/files/4242506cd51bb635af41d9fb10a08469bca66d46 |
| https://github.com/timhoffm |
| timhoffm | https://github.com/timhoffm |
|
Jul 19, 2024
| https://github.com/matplotlib/matplotlib/pull/28518#pullrequestreview-2189207311 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/28518/files/4242506cd51bb635af41d9fb10a08469bca66d46 |
| https://github.com/timhoffm |
| timhoffm | https://github.com/timhoffm |
| v3.9.2 | https://github.com/matplotlib/matplotlib/milestone/93 |
| Jul 19, 2024 | https://github.com/matplotlib/matplotlib/pull/28518#event-13581002925 |
| https://github.com/timhoffm |
| timhoffm | https://github.com/timhoffm |
| 087a142 | https://github.com/matplotlib/matplotlib/commit/087a14217bf42e72d825c5f9bfa0031ab4bec9af |
| Jul 19, 2024 | https://github.com/matplotlib/matplotlib/pull/28518#event-13581003675 |
| meeseeksmachine | https://github.com/meeseeksmachine |
|
Jul 19, 2024
| https://github.com/matplotlib/matplotlib/pull/28518#ref-commit-c37449c |
|
| https://github.com/timhoffm |
|
| https://github.com/meeseeksmachine |
| Backport PR | https://github.com/meeseeksmachine/matplotlib/commit/c37449cf46d2da62c42cf3657c8913d176e6d076 |
| matplotlib#28518 | https://github.com/matplotlib/matplotlib/pull/28518 |
| : [TYP] Fix overload of | https://github.com/meeseeksmachine/matplotlib/commit/c37449cf46d2da62c42cf3657c8913d176e6d076 |
| pyplot.subplots | https://github.com/meeseeksmachine/matplotlib/commit/c37449cf46d2da62c42cf3657c8913d176e6d076 |
| c37449c | https://github.com/meeseeksmachine/matplotlib/commit/c37449cf46d2da62c42cf3657c8913d176e6d076 |
| https://github.com/meeseeksmachine |
| meeseeksmachine | https://github.com/meeseeksmachine |
|
Jul 19, 2024
| https://github.com/matplotlib/matplotlib/pull/28518#ref-pullrequest-2419832150 |
|
Backport PR #28518 on branch v3.9.x ([TYP] Fix overload of pyplot.subplots)
#28596
| https://github.com/matplotlib/matplotlib/pull/28596 |
| QuLogic | https://github.com/QuLogic |
|
Jul 20, 2024
| https://github.com/matplotlib/matplotlib/pull/28518#ref-commit-f5b325e |
|
| https://github.com/QuLogic |
| Merge pull request | https://github.com/matplotlib/matplotlib/commit/f5b325e25de5ee9b02a9c12530b51c872f44d7f8 |
| #28596 | https://github.com/matplotlib/matplotlib/pull/28596 |
| from meeseeksmachine/auto-backport-of-pr-28… | https://github.com/matplotlib/matplotlib/commit/f5b325e25de5ee9b02a9c12530b51c872f44d7f8 |
| f5b325e | https://github.com/matplotlib/matplotlib/commit/f5b325e25de5ee9b02a9c12530b51c872f44d7f8 |
| #28518 | https://github.com/matplotlib/matplotlib/pull/28518 |
| https://github.com/kalvdans |
| kalvdans | https://github.com/kalvdans |
| Jul 20, 2024 | https://github.com/matplotlib/matplotlib/pull/28518#issuecomment-2241044402 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/28518 |
| https://github.com/adamjstewart |
| adamjstewart | https://github.com/adamjstewart |
| July 20, 2024 08:32 | https://github.com/matplotlib/matplotlib/pull/28518#event-13588713446 |
| https://github.com/adamjstewart |
| adamjstewart | https://github.com/adamjstewart |
|
Aug 12, 2024
| https://github.com/matplotlib/matplotlib/pull/28518#ref-pullrequest-2461606537 |
|
pre-commit: avoid buggy matplotlib type hints
torchgeo/torchgeo#2220
| https://github.com/torchgeo/torchgeo/pull/2220 |
| https://github.co/hiddenchars |
| https://github.com/matplotlib/matplotlib/pull/{{ 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%2F28518 |
|
| https://github.com/ksunden |
|
ksunden
| https://github.com/ksunden |
|
| https://github.com/matplotlib/matplotlib/pull/28518/files/4242506cd51bb635af41d9fb10a08469bca66d46 |
|
| https://github.com/timhoffm |
|
timhoffm
| https://github.com/timhoffm |
|
| https://github.com/matplotlib/matplotlib/pull/28518/files/4242506cd51bb635af41d9fb10a08469bca66d46 |
|
topic: figures and subfigures
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20figures%20and%20subfigures%22 |
|
topic: pyplot API
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20pyplot%20API%22 |
|
v3.9.2
| https://github.com/matplotlib/matplotlib/milestone/93 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/28518 |
|
| https://github.com/adamjstewart |
|
| https://github.com/ksunden |
|
| https://github.com/kalvdans |
|
| 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 |