René's URL Explorer Experiment


Title: [TYP] Fix overload of `pyplot.subplots` by adamjstewart · Pull Request #28518 · matplotlib/matplotlib · GitHub

Open Graph Title: [TYP] Fix overload of `pyplot.subplots` by adamjstewart · Pull Request #28518 · matplotlib/matplotlib

X Title: [TYP] Fix overload of `pyplot.subplots` by adamjstewart · Pull Request #28518 · matplotlib/matplotlib

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

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

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

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

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:b4622cea-b0c5-6e3a-2140-051283d8c5e9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEB24:14CB0E:137C7B:1AF827:6A523A12
html-safe-nonce12e0e70af636d5b67f6a660640879d27e444792a2bb16593d1e91a39ec6a3c94
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjI0OjE0Q0IwRToxMzdDN0I6MUFGODI3OjZBNTIzQTEyIiwidmlzaXRvcl9pZCI6IjcyNTE1NTEzODkxMDg4MTIzMDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf167a94324efe06cac7abac73d62d4a036eb2bdb3c648305766a2244ef5aef9c
hovercard-subject-tagpull_request:1956063900
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/28518/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/058148498d91660d816c6efe8f73f6ed062bdcc659a256ef76dee58cc6d363f8/matplotlib/matplotlib/pull/28518
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/058148498d91660d816c6efe8f73f6ed062bdcc659a256ef76dee58cc6d363f8/matplotlib/matplotlib/pull/28518
og:image:altPR 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameadamjstewart
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
release7aed05249554b889eb33d002851a973eebcc7e91
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://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 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%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
Reloadhttps://github.com/matplotlib/matplotlib/pull/28518
Reloadhttps://github.com/matplotlib/matplotlib/pull/28518
Reloadhttps://github.com/matplotlib/matplotlib/pull/28518
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/28518
matplotlib https://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Please reload this pagehttps://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
timhoffmhttps://github.com/timhoffm
matplotlib:mainhttps://github.com/matplotlib/matplotlib/tree/main
adamjstewart:types/subplotshttps://github.com/adamjstewart/matplotlib/tree/types/subplots
Conversationhttps://github.com/matplotlib/matplotlib/pull/28518
Commits5 (5)https://github.com/matplotlib/matplotlib/pull/28518/commits
Checkshttps://github.com/matplotlib/matplotlib/pull/28518/checks
Files changedhttps://github.com/matplotlib/matplotlib/pull/28518/files
[TYP] Fix overload of pyplot.subplotshttps://github.com/matplotlib/matplotlib/pull/28518#top
timhoffmhttps://github.com/timhoffm
matplotlib:mainhttps://github.com/matplotlib/matplotlib/tree/main
adamjstewart:types/subplotshttps://github.com/adamjstewart/matplotlib/tree/types/subplots
https://github.com/adamjstewart
adamjstewarthttps://github.com/adamjstewart
Jul 6, 2024https://github.com/matplotlib/matplotlib/pull/28518#issue-2393610796
#27001 (comment)https://github.com/matplotlib/matplotlib/pull/27001#issuecomment-2211785864
link the related issuehttps://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue
testedhttps://matplotlib.org/devdocs/devel/testing.html
examplehttps://matplotlib.org/devdocs/devel/document.html#write-examples-and-tutorials
directive and release notehttps://matplotlib.org/devdocs/devel/api_changes.html#announce-changes-deprecations-and-new-features
generalhttps://matplotlib.org/devdocs/devel/document.html#write-rest-pages
docstringhttps://matplotlib.org/devdocs/devel/document.html#write-docstrings
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/28518
https://github.com/adamjstewart
[TYP] Fix overload of pyplot.subplotshttps://github.com/matplotlib/matplotlib/pull/28518/commits/613a8e88d6753fcc985760395db35b5d951aa41d
613a8e8https://github.com/matplotlib/matplotlib/pull/28518/commits/613a8e88d6753fcc985760395db35b5d951aa41d
https://github.com/apps/github-actions
github-actionshttps://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, 2024https://github.com/matplotlib/matplotlib/pull/28518#event-13411786015
https://github.com/adamjstewart
adamjstewarthttps://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
adamjstewarthttps://github.com/adamjstewart
Jul 6, 2024https://github.com/matplotlib/matplotlib/pull/28518#issuecomment-2211817960
#27001 (comment)https://github.com/matplotlib/matplotlib/pull/27001#issuecomment-2211791536
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/28518
https://github.com/ianthomas23
ianthomas23https://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 stubhttps://github.com/matplotlib/matplotlib/pull/28518/commits/23adb361b96f628293f9d56464ec312921536b93
23adb36https://github.com/matplotlib/matplotlib/pull/28518/commits/23adb361b96f628293f9d56464ec312921536b93
https://github.com/adamjstewart
adamjstewarthttps://github.com/adamjstewart
Jul 10, 2024https://github.com/matplotlib/matplotlib/pull/28518#issuecomment-2221122580
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/28518
adamjstewarthttps://github.com/adamjstewart
July 10, 2024 21:58https://github.com/matplotlib/matplotlib/pull/28518#commits-pushed-64cac36
https://github.com/adamjstewart
Simplify the codehttps://github.com/matplotlib/matplotlib/pull/28518/commits/64cac364f678c5d34e1b12da6a02c231b8eb2f7a
64cac36https://github.com/matplotlib/matplotlib/pull/28518/commits/64cac364f678c5d34e1b12da6a02c231b8eb2f7a
https://github.com/adamjstewart
Code needs two overloadshttps://github.com/matplotlib/matplotlib/pull/28518/commits/c7a128eec1123866183d412947270ab2c2b11ebc
c7a128ehttps://github.com/matplotlib/matplotlib/pull/28518/commits/c7a128eec1123866183d412947270ab2c2b11ebc
https://github.com/ksunden
ksundenhttps://github.com/ksunden
Jul 11, 2024https://github.com/matplotlib/matplotlib/pull/28518#issuecomment-2221825976
#27001 (review)https://github.com/matplotlib/matplotlib/pull/27001#pullrequestreview-1660274068
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/28518
https://github.com/adamjstewart
Avoid union for dynamic type hintshttps://github.com/matplotlib/matplotlib/pull/28518/commits/4242506cd51bb635af41d9fb10a08469bca66d46
4242506https://github.com/matplotlib/matplotlib/pull/28518/commits/4242506cd51bb635af41d9fb10a08469bca66d46
https://github.com/adamjstewart
adamjstewarthttps://github.com/adamjstewart
Jul 11, 2024https://github.com/matplotlib/matplotlib/pull/28518#issuecomment-2222334373
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/28518
Anyhttps://docs.python.org/3/library/typing.html#the-any-type
1https://github.com/matplotlib/matplotlib/pull/28518#user-content-fn-1-4596c4424a8cca59cb2ff2b1d91ca42d
2https://github.com/matplotlib/matplotlib/pull/28518#user-content-fn-2-4596c4424a8cca59cb2ff2b1d91ca42d
https://github.com/python/mypy/issues/1693https://github.com/python/mypy/issues/1693
https://github.com/matplotlib/matplotlib/pull/28518#user-content-fnref-1-4596c4424a8cca59cb2ff2b1d91ca42d
https://github.com/python/typing/issues/566https://github.com/python/typing/issues/566
https://github.com/matplotlib/matplotlib/pull/28518#user-content-fnref-2-4596c4424a8cca59cb2ff2b1d91ca42d
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/28518
https://github.com/adamjstewart
adamjstewarthttps://github.com/adamjstewart
Jul 17, 2024https://github.com/matplotlib/matplotlib/pull/28518#issuecomment-2234169764
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/28518
https://github.com/adamjstewart
adamjstewarthttps://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
ksundenhttps://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
timhoffmhttps://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
timhoffmhttps://github.com/timhoffm
v3.9.2https://github.com/matplotlib/matplotlib/milestone/93
Jul 19, 2024https://github.com/matplotlib/matplotlib/pull/28518#event-13581002925
https://github.com/timhoffm
timhoffmhttps://github.com/timhoffm
087a142https://github.com/matplotlib/matplotlib/commit/087a14217bf42e72d825c5f9bfa0031ab4bec9af
Jul 19, 2024https://github.com/matplotlib/matplotlib/pull/28518#event-13581003675
meeseeksmachinehttps://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 PRhttps://github.com/meeseeksmachine/matplotlib/commit/c37449cf46d2da62c42cf3657c8913d176e6d076
matplotlib#28518https://github.com/matplotlib/matplotlib/pull/28518
: [TYP] Fix overload ofhttps://github.com/meeseeksmachine/matplotlib/commit/c37449cf46d2da62c42cf3657c8913d176e6d076
pyplot.subplotshttps://github.com/meeseeksmachine/matplotlib/commit/c37449cf46d2da62c42cf3657c8913d176e6d076
c37449chttps://github.com/meeseeksmachine/matplotlib/commit/c37449cf46d2da62c42cf3657c8913d176e6d076
https://github.com/meeseeksmachine
meeseeksmachinehttps://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
QuLogichttps://github.com/QuLogic
Jul 20, 2024 https://github.com/matplotlib/matplotlib/pull/28518#ref-commit-f5b325e
https://github.com/QuLogic
Merge pull requesthttps://github.com/matplotlib/matplotlib/commit/f5b325e25de5ee9b02a9c12530b51c872f44d7f8
#28596https://github.com/matplotlib/matplotlib/pull/28596
from meeseeksmachine/auto-backport-of-pr-28…https://github.com/matplotlib/matplotlib/commit/f5b325e25de5ee9b02a9c12530b51c872f44d7f8
f5b325ehttps://github.com/matplotlib/matplotlib/commit/f5b325e25de5ee9b02a9c12530b51c872f44d7f8
#28518https://github.com/matplotlib/matplotlib/pull/28518
https://github.com/kalvdans
kalvdanshttps://github.com/kalvdans
Jul 20, 2024https://github.com/matplotlib/matplotlib/pull/28518#issuecomment-2241044402
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/28518
https://github.com/adamjstewart
adamjstewarthttps://github.com/adamjstewart
July 20, 2024 08:32https://github.com/matplotlib/matplotlib/pull/28518#event-13588713446
https://github.com/adamjstewart
adamjstewarthttps://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 freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://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 pagehttps://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
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.