| 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:9a98b901-e217-8aa9-222e-a98c9093fa17 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CF70:1D87A6:2BB62B:3B2130:6A522970 |
| html-safe-nonce | f81dcf6cd3b376ecc304a311b20fb1766c21da48d3b410e57f7b760ad900b3a3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjcwOjFEODdBNjoyQkI2MkI6M0IyMTMwOjZBNTIyOTcwIiwidmlzaXRvcl9pZCI6IjkwNDc4NDk3MjYxMTcwMzAyNTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4704530a7bb509689e9eca9f2cd6e898fba9592d96f4e0fbb74d2255b30bdfa2 |
| hovercard-subject-tag | pull_request:3676377820 |
| 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/31667/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/b32bf08f58f1883e0071ce7fbed91e9f7d4c09592a84136c90efaca81ab09326/matplotlib/matplotlib/pull/31667 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b32bf08f58f1883e0071ce7fbed91e9f7d4c09592a84136c90efaca81ab09326/matplotlib/matplotlib/pull/31667 |
| og:image:alt | PR summary
Along the lines of #29763, this PR makes the Agg imaging-resampling code shorter by leveraging class template argument deduction (CTAD). Unfortunately, CTAD in C++17 does not work for ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ayshih |
| 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/31667#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F31667 |
| 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%2F31667 |
|
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/31667 |
| Reload | https://github.com/matplotlib/matplotlib/pull/31667 |
| Reload | https://github.com/matplotlib/matplotlib/pull/31667 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31667 |
|
matplotlib
| https://github.com/matplotlib |
| matplotlib | https://github.com/matplotlib/matplotlib |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31667 |
|
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 |
| QuLogic | https://github.com/QuLogic |
| matplotlib:main | https://github.com/matplotlib/matplotlib/tree/main |
| ayshih:ctad | https://github.com/ayshih/matplotlib/tree/ctad |
| Conversation | https://github.com/matplotlib/matplotlib/pull/31667 |
| Commits2 (2) | https://github.com/matplotlib/matplotlib/pull/31667/commits |
| Checks | https://github.com/matplotlib/matplotlib/pull/31667/checks |
| Files changed | https://github.com/matplotlib/matplotlib/pull/31667/files |
| Use CTAD in Agg image-resampling code | https://github.com/matplotlib/matplotlib/pull/31667#top |
| QuLogic | https://github.com/QuLogic |
| matplotlib:main | https://github.com/matplotlib/matplotlib/tree/main |
| ayshih:ctad | https://github.com/ayshih/matplotlib/tree/ctad |
|
| https://github.com/ayshih |
| ayshih | https://github.com/ayshih |
| May 13, 2026 | https://github.com/matplotlib/matplotlib/pull/31667#issue-4438151399 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31667 |
| #29763 | https://github.com/matplotlib/matplotlib/pull/29763 |
| 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/31667 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
topic: images
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20images%22 |
| May 13, 2026 | https://github.com/matplotlib/matplotlib/pull/31667#event-25483031188 |
| https://github.com/ayshih |
| ayshih | https://github.com/ayshih |
| May 13, 2026 | https://github.com/matplotlib/matplotlib/pull/31667#event-25483252860 |
| https://github.com/tacaswell |
| tacaswell | https://github.com/tacaswell |
| QuLogic | https://github.com/QuLogic |
| May 13, 2026 14:02 | https://github.com/matplotlib/matplotlib/pull/31667#event-25485246225 |
| https://github.com/tacaswell |
| tacaswell | https://github.com/tacaswell |
| anntzer | https://github.com/anntzer |
| anntzer | https://github.com/anntzer |
| May 13, 2026 | https://github.com/matplotlib/matplotlib/pull/31667#event-25485251554 |
| https://github.com/tacaswell |
| tacaswell | https://github.com/tacaswell |
| anntzer | https://github.com/anntzer |
| May 13, 2026 14:03 | https://github.com/matplotlib/matplotlib/pull/31667#event-25485261178 |
| https://github.com/anntzer |
| anntzer | https://github.com/anntzer |
|
May 13, 2026
| https://github.com/matplotlib/matplotlib/pull/31667#pullrequestreview-4282563593 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/31667/files |
| src/_image_resample.h | https://github.com/matplotlib/matplotlib/pull/31667/files#diff-fd1f3677b02cd792d5c1d3fd60bfb090d7d5aaec88d5efbf4990a7ff0bec626b |
| anntzer | https://github.com/anntzer |
| May 13, 2026 | https://github.com/matplotlib/matplotlib/pull/31667#discussion_r3235033151 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31667 |
| ayshih | https://github.com/ayshih |
| May 13, 2026 | https://github.com/matplotlib/matplotlib/pull/31667#discussion_r3235265639 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31667 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31667 |
| https://github.com/anntzer |
| anntzer | https://github.com/anntzer |
|
May 13, 2026
| https://github.com/matplotlib/matplotlib/pull/31667#pullrequestreview-4282685449 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/31667/files |
| src/_image_resample.h | https://github.com/matplotlib/matplotlib/pull/31667/files#diff-fd1f3677b02cd792d5c1d3fd60bfb090d7d5aaec88d5efbf4990a7ff0bec626b |
| anntzer | https://github.com/anntzer |
| May 13, 2026 | https://github.com/matplotlib/matplotlib/pull/31667#discussion_r3235140196 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31667 |
| ayshih | https://github.com/ayshih |
| May 13, 2026 | https://github.com/matplotlib/matplotlib/pull/31667#discussion_r3236254143 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31667 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| the two arguments of the class template | https://github.com/matplotlib/matplotlib/blob/ca9f6bfe3a96b62d4d0dd1cc9e9358e84b235b3f/extern/agg24-svn/include/agg_span_interpolator_adaptor.h#L25 |
| the two arguments of the constructor | https://github.com/matplotlib/matplotlib/blob/ca9f6bfe3a96b62d4d0dd1cc9e9358e84b235b3f/extern/agg24-svn/include/agg_span_interpolator_adaptor.h#L35-L36 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31667 |
| anntzer | https://github.com/anntzer |
| May 14, 2026 | https://github.com/matplotlib/matplotlib/pull/31667#discussion_r3240413783 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31667 |
| https://github.com/anushkadas-coder |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F31667 |
| https://github.com/anntzer |
| anntzer | https://github.com/anntzer |
|
May 14, 2026
| https://github.com/matplotlib/matplotlib/pull/31667#pullrequestreview-4288879252 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/31667/files |
| ayshih | https://github.com/ayshih |
| May 14, 2026 15:10 | https://github.com/matplotlib/matplotlib/pull/31667#commits-pushed-ed29fce |
|
| https://github.com/ayshih |
| Use more class template argument deduction (CTAD) | https://github.com/matplotlib/matplotlib/pull/31667/commits/ed29fcececc9f4e2d986c89324f5e24ba985c861 |
| ed29fce | https://github.com/matplotlib/matplotlib/pull/31667/commits/ed29fcececc9f4e2d986c89324f5e24ba985c861 |
|
| https://github.com/ayshih |
| Reduce code repetition | https://github.com/matplotlib/matplotlib/pull/31667/commits/ccb9d5eace20bddff7261b65347f6aa42b73852a |
| ccb9d5e | https://github.com/matplotlib/matplotlib/pull/31667/commits/ccb9d5eace20bddff7261b65347f6aa42b73852a |
| https://github.com/ayshih |
| ayshih | https://github.com/ayshih |
| force-pushed | https://github.com/matplotlib/matplotlib/compare/3c5d48bdd2933c40f3fa4578f1124d9254e5a5ac..ccb9d5eace20bddff7261b65347f6aa42b73852a |
| 3c5d48b | https://github.com/matplotlib/matplotlib/commit/3c5d48bdd2933c40f3fa4578f1124d9254e5a5ac |
| ccb9d5e | https://github.com/matplotlib/matplotlib/commit/ccb9d5eace20bddff7261b65347f6aa42b73852a |
|
Compare
| https://github.com/matplotlib/matplotlib/compare/3c5d48bdd2933c40f3fa4578f1124d9254e5a5ac..ccb9d5eace20bddff7261b65347f6aa42b73852a |
| May 14, 2026 19:11 | https://github.com/matplotlib/matplotlib/pull/31667#event-25544296885 |
| https://github.com/ayshih |
| ayshih | https://github.com/ayshih |
| May 14, 2026 | https://github.com/matplotlib/matplotlib/pull/31667#issuecomment-4453945088 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31667 |
| https://github.com/QuLogic |
| QuLogic | https://github.com/QuLogic |
|
May 15, 2026
| https://github.com/matplotlib/matplotlib/pull/31667#pullrequestreview-4294429412 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/31667/files/ccb9d5eace20bddff7261b65347f6aa42b73852a |
| https://github.com/QuLogic |
| QuLogic | https://github.com/QuLogic |
| 24b8082 | https://github.com/matplotlib/matplotlib/commit/24b8082c92fb16afba16d19835e34626d31041f3 |
| May 15, 2026 | https://github.com/matplotlib/matplotlib/pull/31667#event-25554038040 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31667 |
| https://github.com/QuLogic |
| QuLogic | https://github.com/QuLogic |
| v3.12.0 | https://github.com/matplotlib/matplotlib/milestone/97 |
| May 15, 2026 | https://github.com/matplotlib/matplotlib/pull/31667#event-25554040066 |
| https://github.com/ayshih |
| ayshih | https://github.com/ayshih |
| July 10, 2026 13:20 | https://github.com/matplotlib/matplotlib/pull/31667#event-27815334673 |
| 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%2F31667 |
|
| https://github.com/QuLogic |
|
QuLogic
| https://github.com/QuLogic |
|
| https://github.com/matplotlib/matplotlib/pull/31667/files/ccb9d5eace20bddff7261b65347f6aa42b73852a |
|
| https://github.com/anntzer |
|
anntzer
| https://github.com/anntzer |
|
| https://github.com/matplotlib/matplotlib/pull/31667/files/3c5d48bdd2933c40f3fa4578f1124d9254e5a5ac |
|
topic: images
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20images%22 |
|
v3.12.0
| https://github.com/matplotlib/matplotlib/milestone/97 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/31667 |
|
| https://github.com/ayshih |
|
| https://github.com/anushkadas-coder |
|
| https://github.com/QuLogic |
|
| https://github.com/anntzer |
|
| 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 |