René's URL Explorer Experiment


Title: FIX: use locators in adjust_bbox by rcomer · Pull Request #25499 · matplotlib/matplotlib · GitHub

Open Graph Title: FIX: use locators in adjust_bbox by rcomer · Pull Request #25499 · matplotlib/matplotlib

X Title: FIX: use locators in adjust_bbox by rcomer · Pull Request #25499 · matplotlib/matplotlib

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

Open Graph Description: PR Summary Fixes #22625. The problem was that _ColorbarAxesLocator was not used to set the aspect ratio before adjust_bbox stripped it off. A simpler but presumably less efficient fix might be to...

X Description: PR Summary Fixes #22625. The problem was that _ColorbarAxesLocator was not used to set the aspect ratio before adjust_bbox stripped it off. A simpler but presumably less efficient fix might be to...

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

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:9b92d2ef-db15-0cbd-47f8-1488c5ba3a0f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA85A:1F14:28C7ED5:37DAE54:6A508DEC
html-safe-nonce95d53ad31c0bebf079b02b5fd1ac33c731226e662e92fc6d48bdb64a43c42d22
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODVBOjFGMTQ6MjhDN0VENTozN0RBRTU0OjZBNTA4REVDIiwidmlzaXRvcl9pZCI6IjEyMTExNzQ3Mjc2NDY3NDQwNDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3872bb075575b22d48398ed8e2b71274e4ea7fcac801a58993d65b1bda069444
hovercard-subject-tagpull_request:1281236615
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/25499/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f6eb8c16c6c3cf261b1dd56512f29c95877e2ca75b1b9867566c668dbc28f70d/matplotlib/matplotlib/pull/25499
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f6eb8c16c6c3cf261b1dd56512f29c95877e2ca75b1b9867566c668dbc28f70d/matplotlib/matplotlib/pull/25499
og:image:altPR Summary Fixes #22625. The problem was that _ColorbarAxesLocator was not used to set the aspect ratio before adjust_bbox stripped it off. A simpler but presumably less efficient fix might be to...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamercomer
hostnamegithub.com
expected-hostnamegithub.com
Noned6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb
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
release7ac0ad2f2c7e4b9056617355fd9e33e22b0c8df9
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/matplotlib/matplotlib/pull/25499#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F25499
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%2F25499
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/25499
Reloadhttps://github.com/matplotlib/matplotlib/pull/25499
Reloadhttps://github.com/matplotlib/matplotlib/pull/25499
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25499
matplotlib https://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25499
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 411 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
oscargushttps://github.com/oscargus
matplotlib:mainhttps://github.com/matplotlib/matplotlib/tree/main
rcomer:colorbar-bbox_incheshttps://github.com/rcomer/matplotlib/tree/colorbar-bbox_inches
Conversationhttps://github.com/matplotlib/matplotlib/pull/25499
Commits1 (1)https://github.com/matplotlib/matplotlib/pull/25499/commits
Checkshttps://github.com/matplotlib/matplotlib/pull/25499/checks
Files changedhttps://github.com/matplotlib/matplotlib/pull/25499/files
FIX: use locators in adjust_bboxhttps://github.com/matplotlib/matplotlib/pull/25499#top
oscargushttps://github.com/oscargus
matplotlib:mainhttps://github.com/matplotlib/matplotlib/tree/main
rcomer:colorbar-bbox_incheshttps://github.com/rcomer/matplotlib/tree/colorbar-bbox_inches
https://github.com/rcomer
rcomerhttps://github.com/rcomer
Mar 18, 2023https://github.com/matplotlib/matplotlib/pull/25499#issue-1630501714
#22625https://github.com/matplotlib/matplotlib/issues/22625
matplotlib/lib/matplotlib/backend_bases.pyhttps://github.com/matplotlib/matplotlib/blob/78bf53caacbb5ce0dc7aa73f07a74c99f1ed919b/lib/matplotlib/backend_bases.py#L2358-L2361
78bf53chttps://github.com/matplotlib/matplotlib/commit/78bf53caacbb5ce0dc7aa73f07a74c99f1ed919b
buildhttps://matplotlib.org/devel/documenting_mpl.html#building-the-docs
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25499
https://github.com/rcomer
rcomerhttps://github.com/rcomer
v3.7.2https://github.com/matplotlib/matplotlib/milestone/81
Mar 18, 2023https://github.com/matplotlib/matplotlib/pull/25499#event-8785469184
https://github.com/rcomer
rcomerhttps://github.com/rcomer
PR: bugfix https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22PR%3A%20bugfix%22
Mar 18, 2023https://github.com/matplotlib/matplotlib/pull/25499#event-8785470394
https://github.com/rcomer
rcomerhttps://github.com/rcomer
force-pushedhttps://github.com/matplotlib/matplotlib/compare/f0db686a6be7f64aca4de3a5ef3741f723ee325a..9df85947ea7ad1917d73cec3b3e827e66b5b6fae
f0db686https://github.com/matplotlib/matplotlib/commit/f0db686a6be7f64aca4de3a5ef3741f723ee325a
9df8594https://github.com/matplotlib/matplotlib/commit/9df85947ea7ad1917d73cec3b3e827e66b5b6fae
Compare https://github.com/matplotlib/matplotlib/compare/f0db686a6be7f64aca4de3a5ef3741f723ee325a..9df85947ea7ad1917d73cec3b3e827e66b5b6fae
March 18, 2023 18:36https://github.com/matplotlib/matplotlib/pull/25499#event-8785476799
https://github.com/greglucas
greglucashttps://github.com/greglucas
Mar 19, 2023 https://github.com/matplotlib/matplotlib/pull/25499#pullrequestreview-1347346095
View reviewed changes https://github.com/matplotlib/matplotlib/pull/25499/files
lib/matplotlib/tests/test_figure.pyhttps://github.com/matplotlib/matplotlib/pull/25499/files#diff-7c50aec0865ef6fceff6a5cb00d4b7e57d396ecbcd3546e5fb494aabed99af33
greglucashttps://github.com/greglucas
Mar 19, 2023https://github.com/matplotlib/matplotlib/pull/25499#discussion_r1141239479
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25499
rcomerhttps://github.com/rcomer
Mar 19, 2023https://github.com/matplotlib/matplotlib/pull/25499#discussion_r1141455230
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25499
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#24971https://github.com/matplotlib/matplotlib/pull/24971
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25499
greglucashttps://github.com/greglucas
Mar 19, 2023https://github.com/matplotlib/matplotlib/pull/25499#discussion_r1141483807
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25499
lib/matplotlib/tests/test_figure.pyhttps://github.com/matplotlib/matplotlib/pull/25499/files#diff-7c50aec0865ef6fceff6a5cb00d4b7e57d396ecbcd3546e5fb494aabed99af33
greglucashttps://github.com/greglucas
Mar 19, 2023https://github.com/matplotlib/matplotlib/pull/25499#discussion_r1141239594
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25499
rcomerhttps://github.com/rcomer
Mar 19, 2023https://github.com/matplotlib/matplotlib/pull/25499#discussion_r1141455362
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25499
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25499
greglucashttps://github.com/greglucas
Mar 19, 2023https://github.com/matplotlib/matplotlib/pull/25499#discussion_r1141483447
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#22103https://github.com/matplotlib/matplotlib/pull/22103
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25499
https://github.com/rcomer
FIX: use locators in adjust_bboxhttps://github.com/matplotlib/matplotlib/pull/25499/commits/50aa98a0f7c1fd1971322f7531294e6716963698
50aa98ahttps://github.com/matplotlib/matplotlib/pull/25499/commits/50aa98a0f7c1fd1971322f7531294e6716963698
https://github.com/rcomer
rcomerhttps://github.com/rcomer
force-pushedhttps://github.com/matplotlib/matplotlib/compare/9df85947ea7ad1917d73cec3b3e827e66b5b6fae..50aa98a0f7c1fd1971322f7531294e6716963698
9df8594https://github.com/matplotlib/matplotlib/commit/9df85947ea7ad1917d73cec3b3e827e66b5b6fae
50aa98ahttps://github.com/matplotlib/matplotlib/commit/50aa98a0f7c1fd1971322f7531294e6716963698
Compare https://github.com/matplotlib/matplotlib/compare/9df85947ea7ad1917d73cec3b3e827e66b5b6fae..50aa98a0f7c1fd1971322f7531294e6716963698
March 19, 2023 19:22https://github.com/matplotlib/matplotlib/pull/25499#event-8788566624
https://github.com/oscargus
oscargushttps://github.com/oscargus
8ef978dhttps://github.com/matplotlib/matplotlib/commit/8ef978d3c3c9461cacb69bb222955c436ad65088
Mar 20, 2023https://github.com/matplotlib/matplotlib/pull/25499#event-8799197506
https://github.com/apps/lumberbot-app
lumberbot-apphttps://github.com/apps/lumberbot-app
Mar 20, 2023https://github.com/matplotlib/matplotlib/pull/25499#issuecomment-1476929792
#25499https://github.com/matplotlib/matplotlib/pull/25499
suggest an improvementhttps://github.com/MeeseeksBox/MeeseeksDev
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25499
https://github.com/apps/lumberbot-app
lumberbot-apphttps://github.com/apps/lumberbot-app
Still Needs Manual Backport https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22Still%20Needs%20Manual%20Backport%22
Mar 20, 2023https://github.com/matplotlib/matplotlib/pull/25499#event-8799199224
https://github.com/rcomer
rcomerhttps://github.com/rcomer
March 20, 2023 21:05https://github.com/matplotlib/matplotlib/pull/25499#event-8799227028
rcomerhttps://github.com/rcomer
Mar 21, 2023 https://github.com/matplotlib/matplotlib/pull/25499#ref-commit-b5e3ef8
https://github.com/oscargus
https://github.com/rcomer
Backport PRhttps://github.com/rcomer/matplotlib/commit/b5e3ef8f196be88f0cb111cc2ef167374f8c5708
matplotlib#25499https://github.com/matplotlib/matplotlib/pull/25499
: FIX: use locators in adjust_bboxhttps://github.com/rcomer/matplotlib/commit/b5e3ef8f196be88f0cb111cc2ef167374f8c5708
b5e3ef8https://github.com/rcomer/matplotlib/commit/b5e3ef8f196be88f0cb111cc2ef167374f8c5708
8ef978dhttps://github.com/rcomer/matplotlib/commit/8ef978d3c3c9461cacb69bb222955c436ad65088
rcomerhttps://github.com/rcomer
Mar 21, 2023 https://github.com/matplotlib/matplotlib/pull/25499#ref-commit-a42649e
https://github.com/oscargus
https://github.com/rcomer
Backport PRhttps://github.com/rcomer/matplotlib/commit/a42649e816666306fe55eb243a7d6dbf391a9880
matplotlib#25499https://github.com/matplotlib/matplotlib/pull/25499
: FIX: use locators in adjust_bboxhttps://github.com/rcomer/matplotlib/commit/a42649e816666306fe55eb243a7d6dbf391a9880
a42649ehttps://github.com/rcomer/matplotlib/commit/a42649e816666306fe55eb243a7d6dbf391a9880
matplotlib#24816https://github.com/matplotlib/matplotlib/pull/24816
8ef978dhttps://github.com/rcomer/matplotlib/commit/8ef978d3c3c9461cacb69bb222955c436ad65088
https://github.com/rcomer
rcomerhttps://github.com/rcomer
Mar 21, 2023 https://github.com/matplotlib/matplotlib/pull/25499#ref-pullrequest-1633440121
Backport PR #25499: FIX: use locators in adjust_bbox #25520 https://github.com/matplotlib/matplotlib/pull/25520
https://github.com/rcomer
rcomerhttps://github.com/rcomer
Still Needs Manual Backport https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22Still%20Needs%20Manual%20Backport%22
Mar 21, 2023https://github.com/matplotlib/matplotlib/pull/25499#event-8802674054
ksundenhttps://github.com/ksunden
Mar 21, 2023 https://github.com/matplotlib/matplotlib/pull/25499#ref-commit-e0de606
https://github.com/ksunden
Merge pull requesthttps://github.com/matplotlib/matplotlib/commit/e0de60617fc0ab847e75273d5ad446fb16072c53
#25520https://github.com/matplotlib/matplotlib/pull/25520
from rcomer/backport-25499https://github.com/matplotlib/matplotlib/commit/e0de60617fc0ab847e75273d5ad446fb16072c53
e0de606https://github.com/matplotlib/matplotlib/commit/e0de60617fc0ab847e75273d5ad446fb16072c53
#25499https://github.com/matplotlib/matplotlib/pull/25499
https://github.com/rcomer
rcomerhttps://github.com/rcomer
Sep 23, 2023 https://github.com/matplotlib/matplotlib/pull/25499#ref-issue-1798559972
[Bug]: Error while creating inset axes using mpl_toolkits.axes_grid1.inset_locator.inset_axes #26287 https://github.com/matplotlib/matplotlib/issues/26287
https://github.com/rcomer
rcomerhttps://github.com/rcomer
Feb 9, 2024 https://github.com/matplotlib/matplotlib/pull/25499#ref-issue-2126229744
[Bug]: colorbar doesn't register inset_axis as cax #27763 https://github.com/matplotlib/matplotlib/issues/27763
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%2F25499
https://github.com/greglucas
greglucas https://github.com/greglucas
https://github.com/matplotlib/matplotlib/pull/25499/files/50aa98a0f7c1fd1971322f7531294e6716963698
PR: bugfix https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22PR%3A%20bugfix%22
v3.7.2 https://github.com/matplotlib/matplotlib/milestone/81
[Bug]: Setting bbox_inches to a Bbox in fig.savefig resizes colorbar https://github.com/matplotlib/matplotlib/issues/22625
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25499
https://github.com/rcomer
https://github.com/greglucas
https://github.com/oscargus
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.