| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:3f20ea1d-7663-2121-3390-467665438c2d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9C46:1FE1ED:11CC36:1974BE:6A53595C |
| html-safe-nonce | e6c50ffdf697e53a8100173ba22d4b758a2c5279338e353c0050e74641d6f502 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QzQ2OjFGRTFFRDoxMUNDMzY6MTk3NEJFOjZBNTM1OTVDIiwidmlzaXRvcl9pZCI6Ijg5MDM5ODIzMjc1ODk0NjAzMTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a9e619bc4175288a9145d8756c59abef898dbae1e0fa5fb6f4060b94831f24f4 |
| hovercard-subject-tag | pull_request:241612966 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/matplotlib/matplotlib/pull/13072/files |
| twitter:image | https://avatars.githubusercontent.com/u/1562854?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1562854?s=400&v=4 |
| og:image:alt | PR Summary
If constrained_layout is being used, this new kwarg allows the user to automagically place a legend outside the subplots in a grid spec (or all the subplots in a figure for a more strai... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| 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/13072/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F13072%2Ffiles |
| 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%2F13072%2Ffiles |
|
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=matplotlib%2Fmatplotlib |
| Reload | https://github.com/matplotlib/matplotlib/pull/13072/files |
| Reload | https://github.com/matplotlib/matplotlib/pull/13072/files |
| Reload | https://github.com/matplotlib/matplotlib/pull/13072/files |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/13072/files |
|
matplotlib
| https://github.com/matplotlib |
| matplotlib | https://github.com/matplotlib/matplotlib |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/13072/files |
|
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 |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fmatplotlib%2Fmatplotlib%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib%2Fissues%2Fnew%2Fchoose |
| jklymak | https://github.com/jklymak |
| matplotlib:master | https://github.com/matplotlib/matplotlib/tree/master |
| jklymak:enh-add-gridspec-legend | https://github.com/jklymak/matplotlib/tree/enh-add-gridspec-legend |
|
Conversation
47
| https://github.com/matplotlib/matplotlib/pull/13072 |
|
Commits
16
| https://github.com/matplotlib/matplotlib/pull/13072/commits |
|
Checks
0
| https://github.com/matplotlib/matplotlib/pull/13072/checks |
|
Files changed
| https://github.com/matplotlib/matplotlib/pull/13072/files |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/13072/files |
|
ENH: add figure.legend; outside kwarg for better layout outside subplots
| https://github.com/matplotlib/matplotlib/pull/13072/files#top |
|
Show all changes
16 commits
| https://github.com/matplotlib/matplotlib/pull/13072/files |
|
19935d6
ENH: add figure.legend_outside
jklymak Jan 1, 2019
| https://github.com/matplotlib/matplotlib/pull/13072/commits/19935d60e2c67e6c70f699923e49aa7a560a20ab |
|
20a56fb
ENH: add figure.legend_outside
jklymak Jan 1, 2019
| https://github.com/matplotlib/matplotlib/pull/13072/commits/20a56fb0d2bbf6b2b3ac656de214ad72fe823c9c |
|
f655c14
ENH: add figure.legend_outside
jklymak Jan 1, 2019
| https://github.com/matplotlib/matplotlib/pull/13072/commits/f655c1481b00afda44d0cc2aabd545d811afc92e |
|
a761639
FIX: add legend kwarg outside
jklymak Jan 2, 2019
| https://github.com/matplotlib/matplotlib/pull/13072/commits/a761639cd2b358b1e54c15ecbb960edc8a8bceb7 |
|
43ce090
FIX: add legend kwarg outside
jklymak Jan 2, 2019
| https://github.com/matplotlib/matplotlib/pull/13072/commits/43ce090dc381ea4bc4b5fd30486227e9130b2bd8 |
|
81209e6
ENH: add vertical layout
jklymak Jan 2, 2019
| https://github.com/matplotlib/matplotlib/pull/13072/commits/81209e6ae9719ff009d9a813986f398d1a87652b |
|
f3c138a
ENH: change axs to ax
jklymak Jan 2, 2019
| https://github.com/matplotlib/matplotlib/pull/13072/commits/f3c138aba852791b70291d615f42b2a3439a6c6e |
|
004755b
DOC: fix and expand example
jklymak Jan 2, 2019
| https://github.com/matplotlib/matplotlib/pull/13072/commits/004755bd326761a1502ce3579ac11a5f46239e14 |
|
67cd299
DOC: fix and expand example
jklymak Jan 2, 2019
| https://github.com/matplotlib/matplotlib/pull/13072/commits/67cd29916107ed8e3e92e16bc08f37c4ae032191 |
|
82f4498
DOC: fix and expand example
jklymak Jan 3, 2019
| https://github.com/matplotlib/matplotlib/pull/13072/commits/82f44987d48fbec85f89c617be7405b469cb8136 |
|
1bd8a85
ENH: add outside argument to axes legend as well
jklymak Jan 4, 2019
| https://github.com/matplotlib/matplotlib/pull/13072/commits/1bd8a85e792c3703b04391b93d14e205ad87f678 |
|
ed1a18a
FIX: make borderaxespad consistent
jklymak Jan 6, 2019
| https://github.com/matplotlib/matplotlib/pull/13072/commits/ed1a18a52a8593f8547861923bc7822bbedf51c5 |
|
b26f867
FIX: make borderaxespad consistent
jklymak Jan 6, 2019
| https://github.com/matplotlib/matplotlib/pull/13072/commits/b26f8673d5839c01be38e5e99e998a4abba78234 |
|
6986452
TST: fix test values
jklymak Jan 28, 2019
| https://github.com/matplotlib/matplotlib/pull/13072/commits/69864524816d0d9b3051385baa6742338438dbf3 |
|
3aa9fe9
FL8
jklymak Jan 30, 2019
| https://github.com/matplotlib/matplotlib/pull/13072/commits/3aa9fe9678f24e3e42e4e94c945e957dd9c13a92 |
|
3dbd703
Small cleanup
jklymak Jan 30, 2019
| https://github.com/matplotlib/matplotlib/pull/13072/commits/3dbd7037ace43e288e8773fca78d283a6defa2f9 |
|
Clear filters
| https://github.com/matplotlib/matplotlib/pull/13072/files |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/13072/files |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/13072/files |
|
figlegendoutside_demo.py
| https://github.com/matplotlib/matplotlib/pull/13072/files#diff-d1dd2a3cafe146d7a4080441bd8ae857f768c4ecb174b1a05ea78e815ba3aaad |
|
_constrained_layout.py
| https://github.com/matplotlib/matplotlib/pull/13072/files#diff-ec400fe5385be373ec266d3c296f8b3cb7bb327cc4b05b406e8d591fcb5eadf7 |
|
_layoutbox.py
| https://github.com/matplotlib/matplotlib/pull/13072/files#diff-8c8e9d4e945daccc2b101b332d04befec62776c506ff6b3359ac0e6e0b261fa0 |
|
_subplots.py
| https://github.com/matplotlib/matplotlib/pull/13072/files#diff-7452babd771a5640e657d38cb31f9a76244db6d3fffa8515a3e20f16108e4cb2 |
|
figure.py
| https://github.com/matplotlib/matplotlib/pull/13072/files#diff-01b0c7a8c4445ae46a3c055ace167e99f59dcd54dbf04c84bca2132914d2f8df |
|
gridspec.py
| https://github.com/matplotlib/matplotlib/pull/13072/files#diff-5fe0a531eb6f4d8ecbea1c817251fd13792b67735a96e07263655d69df73b34a |
|
legend.py
| https://github.com/matplotlib/matplotlib/pull/13072/files#diff-e7a00bb4a353fa623c1d0c1de5c6ca602b7ab38e8906d4842640983133b9196a |
|
test_legend.py
| https://github.com/matplotlib/matplotlib/pull/13072/files#diff-1b573023d84935306a147bec7f137e59ae79c3d4f3bbea81152eb0c94b58a579 |
| examples/text_labels_and_annotations/figlegendoutside_demo.py | https://github.com/matplotlib/matplotlib/pull/13072/files#diff-d1dd2a3cafe146d7a4080441bd8ae857f768c4ecb174b1a05ea78e815ba3aaad |
|
View file
| https://github.com/jklymak/matplotlib/blob/3dbd7037ace43e288e8773fca78d283a6defa2f9/examples/text_labels_and_annotations/figlegendoutside_demo.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/matplotlib/matplotlib/pull/13072/{{ revealButtonHref }} |
| lib/matplotlib/_constrained_layout.py | https://github.com/matplotlib/matplotlib/pull/13072/files#diff-ec400fe5385be373ec266d3c296f8b3cb7bb327cc4b05b406e8d591fcb5eadf7 |
|
View file
| https://github.com/jklymak/matplotlib/blob/3dbd7037ace43e288e8773fca78d283a6defa2f9/lib/matplotlib/_constrained_layout.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/matplotlib/matplotlib/pull/13072/{{ revealButtonHref }} |
|
| https://github.com/matplotlib/matplotlib/pull/13072/files#diff-ec400fe5385be373ec266d3c296f8b3cb7bb327cc4b05b406e8d591fcb5eadf7 |
|
| https://github.com/matplotlib/matplotlib/pull/13072/files#diff-ec400fe5385be373ec266d3c296f8b3cb7bb327cc4b05b406e8d591fcb5eadf7 |
|
| https://github.com/matplotlib/matplotlib/pull/13072/files#diff-ec400fe5385be373ec266d3c296f8b3cb7bb327cc4b05b406e8d591fcb5eadf7 |
|
| https://github.com/matplotlib/matplotlib/pull/13072/files#diff-ec400fe5385be373ec266d3c296f8b3cb7bb327cc4b05b406e8d591fcb5eadf7 |
|
| https://github.com/matplotlib/matplotlib/pull/13072/files#diff-ec400fe5385be373ec266d3c296f8b3cb7bb327cc4b05b406e8d591fcb5eadf7 |
|
| https://github.com/matplotlib/matplotlib/pull/13072/files#diff-ec400fe5385be373ec266d3c296f8b3cb7bb327cc4b05b406e8d591fcb5eadf7 |
|
| https://github.com/matplotlib/matplotlib/pull/13072/files#diff-ec400fe5385be373ec266d3c296f8b3cb7bb327cc4b05b406e8d591fcb5eadf7 |
|
| https://github.com/matplotlib/matplotlib/pull/13072/files#diff-ec400fe5385be373ec266d3c296f8b3cb7bb327cc4b05b406e8d591fcb5eadf7 |
| lib/matplotlib/_layoutbox.py | https://github.com/matplotlib/matplotlib/pull/13072/files#diff-8c8e9d4e945daccc2b101b332d04befec62776c506ff6b3359ac0e6e0b261fa0 |
|
View file
| https://github.com/jklymak/matplotlib/blob/3dbd7037ace43e288e8773fca78d283a6defa2f9/lib/matplotlib/_layoutbox.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/matplotlib/matplotlib/pull/13072/{{ revealButtonHref }} |
|
| https://github.com/matplotlib/matplotlib/pull/13072/files#diff-8c8e9d4e945daccc2b101b332d04befec62776c506ff6b3359ac0e6e0b261fa0 |
|
| https://github.com/matplotlib/matplotlib/pull/13072/files#diff-8c8e9d4e945daccc2b101b332d04befec62776c506ff6b3359ac0e6e0b261fa0 |
| lib/matplotlib/axes/_subplots.py | https://github.com/matplotlib/matplotlib/pull/13072/files#diff-7452babd771a5640e657d38cb31f9a76244db6d3fffa8515a3e20f16108e4cb2 |
|
View file
| https://github.com/jklymak/matplotlib/blob/3dbd7037ace43e288e8773fca78d283a6defa2f9/lib/matplotlib/axes/_subplots.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/matplotlib/matplotlib/pull/13072/{{ revealButtonHref }} |
|
| https://github.com/matplotlib/matplotlib/pull/13072/files#diff-7452babd771a5640e657d38cb31f9a76244db6d3fffa8515a3e20f16108e4cb2 |
|
| https://github.com/matplotlib/matplotlib/pull/13072/files#diff-7452babd771a5640e657d38cb31f9a76244db6d3fffa8515a3e20f16108e4cb2 |
| lib/matplotlib/figure.py | https://github.com/matplotlib/matplotlib/pull/13072/files#diff-01b0c7a8c4445ae46a3c055ace167e99f59dcd54dbf04c84bca2132914d2f8df |
|
View file
| https://github.com/jklymak/matplotlib/blob/3dbd7037ace43e288e8773fca78d283a6defa2f9/lib/matplotlib/figure.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/matplotlib/matplotlib/pull/13072/{{ revealButtonHref }} |
|
| https://github.com/matplotlib/matplotlib/pull/13072/files#diff-01b0c7a8c4445ae46a3c055ace167e99f59dcd54dbf04c84bca2132914d2f8df |
|
| https://github.com/matplotlib/matplotlib/pull/13072/files#diff-01b0c7a8c4445ae46a3c055ace167e99f59dcd54dbf04c84bca2132914d2f8df |
|
| https://github.com/matplotlib/matplotlib/pull/13072/files#diff-01b0c7a8c4445ae46a3c055ace167e99f59dcd54dbf04c84bca2132914d2f8df |
|
| https://github.com/matplotlib/matplotlib/pull/13072/files#diff-01b0c7a8c4445ae46a3c055ace167e99f59dcd54dbf04c84bca2132914d2f8df |
|
| https://github.com/matplotlib/matplotlib/pull/13072/files#diff-01b0c7a8c4445ae46a3c055ace167e99f59dcd54dbf04c84bca2132914d2f8df |
|
| https://github.com/matplotlib/matplotlib/pull/13072/files#diff-01b0c7a8c4445ae46a3c055ace167e99f59dcd54dbf04c84bca2132914d2f8df |
|
| https://github.com/matplotlib/matplotlib/pull/13072/files#diff-01b0c7a8c4445ae46a3c055ace167e99f59dcd54dbf04c84bca2132914d2f8df |
|
| https://github.com/matplotlib/matplotlib/pull/13072/files#diff-01b0c7a8c4445ae46a3c055ace167e99f59dcd54dbf04c84bca2132914d2f8df |
|
| https://github.com/matplotlib/matplotlib/pull/13072/files#diff-01b0c7a8c4445ae46a3c055ace167e99f59dcd54dbf04c84bca2132914d2f8df |
|
| https://github.com/matplotlib/matplotlib/pull/13072/files#diff-01b0c7a8c4445ae46a3c055ace167e99f59dcd54dbf04c84bca2132914d2f8df |
|
| https://github.com/matplotlib/matplotlib/pull/13072/files#diff-01b0c7a8c4445ae46a3c055ace167e99f59dcd54dbf04c84bca2132914d2f8df |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/13072/files |
|
| 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 |