René's URL Explorer Experiment


Title: Scale an image to the axes edges regardless of whether it is being plotted with a nonaffine transform or an affine transform by ayshih · Pull Request #30175 · matplotlib/matplotlib · GitHub

Open Graph Title: Scale an image to the axes edges regardless of whether it is being plotted with a nonaffine transform or an affine transform by ayshih · Pull Request #30175 · matplotlib/matplotlib

X Title: Scale an image to the axes edges regardless of whether it is being plotted with a nonaffine transform or an affine transform by ayshih · Pull Request #30175 · matplotlib/matplotlib

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

Open Graph Description: PR summary This PR fixes a difference between plotting an image with a nonaffine transform versus with an affine transform. When plotting with an affine transform, the transform for rendering get...

X Description: PR summary This PR fixes a difference between plotting an image with a nonaffine transform versus with an affine transform. When plotting with an affine transform, the transform for rendering get...

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

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:1452715f-2d9e-bb8d-e54c-93265914430e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB6AA:300776:565077:72F1A3:6A5187B5
html-safe-noncec825bc296965beb28004463ad8373480c04aa5031fe53c2507f779a6b61f33a0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNkFBOjMwMDc3Njo1NjUwNzc6NzJGMUEzOjZBNTE4N0I1IiwidmlzaXRvcl9pZCI6IjM4MzUwMTI1OTcxNTA3NDY1NDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc0129d42827ec5aa73c0c9edf160bd7630b1cc51b3142a7431b91e01df0dcc5d
hovercard-subject-tagpull_request:2591903579
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/30175/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/431301121878e3603c2d4a4ff110976bec0b3da9fb541215712cba5bf7e87ce2/matplotlib/matplotlib/pull/30175
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/431301121878e3603c2d4a4ff110976bec0b3da9fb541215712cba5bf7e87ce2/matplotlib/matplotlib/pull/30175
og:image:altPR summary This PR fixes a difference between plotting an image with a nonaffine transform versus with an affine transform. When plotting with an affine transform, the transform for rendering get...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameayshih
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
releasecb77a7b8b06cd86c243be33fd8e7922d70a9d243
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/matplotlib/matplotlib/pull/30175#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F30175
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%2F30175
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/30175
Reloadhttps://github.com/matplotlib/matplotlib/pull/30175
Reloadhttps://github.com/matplotlib/matplotlib/pull/30175
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30175
matplotlib https://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30175
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
ayshihhttps://github.com/ayshih
matplotlib:mainhttps://github.com/matplotlib/matplotlib/tree/main
ayshih:nonaffine_scalinghttps://github.com/ayshih/matplotlib/tree/nonaffine_scaling
Conversationhttps://github.com/matplotlib/matplotlib/pull/30175
Commits2 (2)https://github.com/matplotlib/matplotlib/pull/30175/commits
Checkshttps://github.com/matplotlib/matplotlib/pull/30175/checks
Files changedhttps://github.com/matplotlib/matplotlib/pull/30175/files
Scale an image to the axes edges regardless of whether it is being plotted with a nonaffine transform or an affine transformhttps://github.com/matplotlib/matplotlib/pull/30175#top
ayshihhttps://github.com/ayshih
matplotlib:mainhttps://github.com/matplotlib/matplotlib/tree/main
ayshih:nonaffine_scalinghttps://github.com/ayshih/matplotlib/tree/nonaffine_scaling
https://github.com/ayshih
ayshihhttps://github.com/ayshih
Jun 14, 2025https://github.com/matplotlib/matplotlib/pull/30175#issue-3145399719
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30175
https://private-user-images.githubusercontent.com/991759/455118823-15b1e7b7-fad2-4e8d-820e-d14ae01a7aad.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODM3MjgzNTMsIm5iZiI6MTc4MzcyODA1Myw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gtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jZTQyNDMyOGYyZjBlYzc0ZTNhZmFmMzc4ZTMzNTE1NTdiY2U5NTA1ZmI2YzYwYzk2YmIxMmY2YmZhYzRhODY2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.07Alhw6OWPpTHmLpRQaChG3oa8cUtC3hMNlhlgCXmzk
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/30175
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
topic: images https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20images%22
Jun 14, 2025https://github.com/matplotlib/matplotlib/pull/30175#event-18144953850
https://github.com/ayshih
ayshihhttps://github.com/ayshih
force-pushedhttps://github.com/matplotlib/matplotlib/compare/59bd52fb6f708413538be4221b05869e95db1c3f..8520a10ee1baeb4d116fba932b0f3a9bb0a1df30
59bd52fhttps://github.com/matplotlib/matplotlib/commit/59bd52fb6f708413538be4221b05869e95db1c3f
8520a10https://github.com/matplotlib/matplotlib/commit/8520a10ee1baeb4d116fba932b0f3a9bb0a1df30
Compare https://github.com/matplotlib/matplotlib/compare/59bd52fb6f708413538be4221b05869e95db1c3f..8520a10ee1baeb4d116fba932b0f3a9bb0a1df30
June 20, 2025 16:50https://github.com/matplotlib/matplotlib/pull/30175#event-18250901742
https://github.com/ayshih
ayshihhttps://github.com/ayshih
force-pushedhttps://github.com/matplotlib/matplotlib/compare/8520a10ee1baeb4d116fba932b0f3a9bb0a1df30..0a9c588defd19a826f5a67275a366403a30583e9
8520a10https://github.com/matplotlib/matplotlib/commit/8520a10ee1baeb4d116fba932b0f3a9bb0a1df30
0a9c588https://github.com/matplotlib/matplotlib/commit/0a9c588defd19a826f5a67275a366403a30583e9
Compare https://github.com/matplotlib/matplotlib/compare/8520a10ee1baeb4d116fba932b0f3a9bb0a1df30..0a9c588defd19a826f5a67275a366403a30583e9
October 8, 2025 18:23https://github.com/matplotlib/matplotlib/pull/30175#event-20169857480
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
topic: mplot3d https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20mplot3d%22
Oct 8, 2025https://github.com/matplotlib/matplotlib/pull/30175#event-20169860527
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
status: needs rebase https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20needs%20rebase%22
Jan 8, 2026https://github.com/matplotlib/matplotlib/pull/30175#event-21926428579
https://github.com/ayshih
ayshihhttps://github.com/ayshih
force-pushedhttps://github.com/matplotlib/matplotlib/compare/0a9c588defd19a826f5a67275a366403a30583e9..ea140eccc3e1529b77fd4d550c85dbd97d5a8f3f
0a9c588https://github.com/matplotlib/matplotlib/commit/0a9c588defd19a826f5a67275a366403a30583e9
ea140echttps://github.com/matplotlib/matplotlib/commit/ea140eccc3e1529b77fd4d550c85dbd97d5a8f3f
Compare https://github.com/matplotlib/matplotlib/compare/0a9c588defd19a826f5a67275a366403a30583e9..ea140eccc3e1529b77fd4d550c85dbd97d5a8f3f
January 15, 2026 20:57https://github.com/matplotlib/matplotlib/pull/30175#event-22079593600
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
topic: mplot3d https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20mplot3d%22
status: needs rebase https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20needs%20rebase%22
topic: images https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20images%22
Jan 15, 2026https://github.com/matplotlib/matplotlib/pull/30175#event-22079596800
ayshihhttps://github.com/ayshih
January 16, 2026 09:29https://github.com/matplotlib/matplotlib/pull/30175#commits-pushed-36f27cc
https://github.com/ayshih
Add test to check for consistency in scaling images to axes edgeshttps://github.com/matplotlib/matplotlib/pull/30175/commits/36f27cced62f09b4d1fb504f2810542e61dd0c4b
36f27cchttps://github.com/matplotlib/matplotlib/pull/30175/commits/36f27cced62f09b4d1fb504f2810542e61dd0c4b
https://github.com/ayshih
Remove different handling for nonaffine transformshttps://github.com/matplotlib/matplotlib/pull/30175/commits/7abdf723fe3972eb108682cb865f854d9759f8ac
7abdf72https://github.com/matplotlib/matplotlib/pull/30175/commits/7abdf723fe3972eb108682cb865f854d9759f8ac
https://github.com/ayshih
ayshihhttps://github.com/ayshih
force-pushedhttps://github.com/matplotlib/matplotlib/compare/84fc19d71863c5c34fb84fb60d7c8b16dcaeaec1..7abdf723fe3972eb108682cb865f854d9759f8ac
84fc19dhttps://github.com/matplotlib/matplotlib/commit/84fc19d71863c5c34fb84fb60d7c8b16dcaeaec1
7abdf72https://github.com/matplotlib/matplotlib/commit/7abdf723fe3972eb108682cb865f854d9759f8ac
Compare https://github.com/matplotlib/matplotlib/compare/84fc19d71863c5c34fb84fb60d7c8b16dcaeaec1..7abdf723fe3972eb108682cb865f854d9759f8ac
January 16, 2026 14:30https://github.com/matplotlib/matplotlib/pull/30175#event-22097357075
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
topic: images https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20images%22
Jan 16, 2026https://github.com/matplotlib/matplotlib/pull/30175#event-22097361071
https://github.com/QuLogic
QuLogichttps://github.com/QuLogic
Jan 24, 2026 https://github.com/matplotlib/matplotlib/pull/30175#ref-pullrequest-3847919594
Fixed inaccurate image placement and even more resampling bugs #31021 https://github.com/matplotlib/matplotlib/pull/31021
https://github.com/ayshih
ayshihhttps://github.com/ayshih
Jan 24, 2026https://github.com/matplotlib/matplotlib/pull/30175#event-22262213466
https://github.com/rcomer
rcomerhttps://github.com/rcomer
status: superseded https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20superseded%22
Jan 24, 2026https://github.com/matplotlib/matplotlib/pull/30175#event-22262317781
https://github.com/ayshih
ayshihhttps://github.com/ayshih
March 2, 2026 14:04https://github.com/matplotlib/matplotlib/pull/30175#event-23194319161
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%2F30175
status: superseded https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20superseded%22
topic: images https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20images%22
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30175
https://github.com/ayshih
https://github.com/rcomer
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.