René's URL Explorer Experiment


Title: Allow array alpha for imshow by tillahoffmann · Pull Request #8183 · matplotlib/matplotlib · GitHub

Open Graph Title: Allow array alpha for imshow by tillahoffmann · Pull Request #8183 · matplotlib/matplotlib

X Title: Allow array alpha for imshow by tillahoffmann · Pull Request #8183 · matplotlib/matplotlib

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

Open Graph Description: This PR allows the alpha argument of imshow to be an array with shape matching the image to support pixel-by-pixel opacity.

X Description: This PR allows the alpha argument of imshow to be an array with shape matching the image to support pixel-by-pixel opacity.

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

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:d00d3d36-53b3-18ab-13ad-d1674ff4a575
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA592:1694AE:182022D:20FE366:6A523896
html-safe-nonce45f28ea7828e5112e4bdb38ab6ec0224118f9be2a9932e0bad2cfbb8ad0e3651
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTkyOjE2OTRBRToxODIwMjJEOjIwRkUzNjY6NkE1MjM4OTYiLCJ2aXNpdG9yX2lkIjoiMTA4NTA4OTg4NTI5NDA0OTQzMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac8ecb76dd3b1b9c8568da8042b36d44b2c2fc14ffc15b51684536fb82fe893c8b
hovercard-subject-tagpull_request:108756128
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/8183/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6a75a73c84cca8af3ebfa9756b263813b5e59435fb1897ac9880e4fba23f29c8/matplotlib/matplotlib/pull/8183
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6a75a73c84cca8af3ebfa9756b263813b5e59435fb1897ac9880e4fba23f29c8/matplotlib/matplotlib/pull/8183
og:image:altThis PR allows the alpha argument of imshow to be an array with shape matching the image to support pixel-by-pixel opacity.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametillahoffmann
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/8183#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F8183
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%2F8183
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/8183
Reloadhttps://github.com/matplotlib/matplotlib/pull/8183
Reloadhttps://github.com/matplotlib/matplotlib/pull/8183
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/8183
matplotlib https://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/8183
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
tillahoffmannhttps://github.com/tillahoffmann
matplotlib:masterhttps://github.com/matplotlib/matplotlib/tree/master
tillahoffmann:arrayalphahttps://github.com/tillahoffmann/matplotlib/tree/arrayalpha
Conversationhttps://github.com/matplotlib/matplotlib/pull/8183
Commits10 (10)https://github.com/matplotlib/matplotlib/pull/8183/commits
Checkshttps://github.com/matplotlib/matplotlib/pull/8183/checks
Files changedhttps://github.com/matplotlib/matplotlib/pull/8183/files
Allow array alpha for imshowhttps://github.com/matplotlib/matplotlib/pull/8183#top
tillahoffmannhttps://github.com/tillahoffmann
matplotlib:masterhttps://github.com/matplotlib/matplotlib/tree/master
tillahoffmann:arrayalphahttps://github.com/tillahoffmann/matplotlib/tree/arrayalpha
https://github.com/tillahoffmann
tillahoffmannhttps://github.com/tillahoffmann
Mar 2, 2017https://github.com/matplotlib/matplotlib/pull/8183#issue-211387046
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/8183
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/8183
https://github.com/tillahoffmann
Allow array alpha for imshow.https://github.com/matplotlib/matplotlib/pull/8183/commits/157fc86d47991fb613b1ba29b9caf3a75a4c2468
157fc86https://github.com/matplotlib/matplotlib/pull/8183/commits/157fc86d47991fb613b1ba29b9caf3a75a4c2468
https://github.com/dstansby
dstansbyhttps://github.com/dstansby
Mar 2, 2017https://github.com/matplotlib/matplotlib/pull/8183#issuecomment-283799966
https://travis-ci.org/matplotlib/matplotlib/jobs/206990110#L1678https://travis-ci.org/matplotlib/matplotlib/jobs/206990110#L1678
http://matplotlib.org/devel/index.htmlhttp://matplotlib.org/devel/index.html
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/8183
https://github.com/dstansby
dstansbyhttps://github.com/dstansby
Mar 2, 2017https://github.com/matplotlib/matplotlib/pull/8183#event-984500985
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
Mar 2, 2017 https://github.com/matplotlib/matplotlib/pull/8183#pullrequestreview-24875404
View reviewed changes https://github.com/matplotlib/matplotlib/pull/8183/files/157fc86d47991fb613b1ba29b9caf3a75a4c2468
lib/matplotlib/image.pyhttps://github.com/matplotlib/matplotlib/pull/8183/files/157fc86d47991fb613b1ba29b9caf3a75a4c2468#diff-25ae7458ece3baeb36f57b6d14661c66781454a7a0532e5847eb4ed425ec0f5f
tacaswellhttps://github.com/tacaswell
Mar 2, 2017https://github.com/matplotlib/matplotlib/pull/8183#discussion_r104060446
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@QuLogichttps://github.com/QuLogic
#8024https://github.com/matplotlib/matplotlib/pull/8024
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/8183
tillahoffmannhttps://github.com/tillahoffmann
Mar 3, 2017https://github.com/matplotlib/matplotlib/pull/8183#discussion_r104169580
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://cloud.githubusercontent.com/assets/966348/23555782/1fce8a54-0022-11e7-920a-69363d219ed0.png
https://cloud.githubusercontent.com/assets/966348/23555913/8c53c2ac-0022-11e7-8d9f-d2e77bcb6864.png
https://cloud.githubusercontent.com/assets/966348/23555914/8c557bce-0022-11e7-8715-0e7d12553493.png
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/8183
tillahoffmannhttps://github.com/tillahoffmann
Mar 3, 2017https://github.com/matplotlib/matplotlib/pull/8183#discussion_r104173425
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/8183
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
Mar 2, 2017https://github.com/matplotlib/matplotlib/pull/8183#issuecomment-283822094
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/8183
tillahoffmannhttps://github.com/tillahoffmann
March 2, 2017 23:58https://github.com/matplotlib/matplotlib/pull/8183#commits-pushed-8916fa9
https://github.com/tillahoffmann
Remove unnecessary logic branch.https://github.com/matplotlib/matplotlib/pull/8183/commits/8916fa91f71750d5ed6453802e442d414c611b9e
8916fa9https://github.com/matplotlib/matplotlib/pull/8183/commits/8916fa91f71750d5ed6453802e442d414c611b9e
https://github.com/tillahoffmann
Fix PEP8.https://github.com/matplotlib/matplotlib/pull/8183/commits/fd0ed0243218a7792a4ab3d53e02b9a579e073a5
fd0ed02https://github.com/matplotlib/matplotlib/pull/8183/commits/fd0ed0243218a7792a4ab3d53e02b9a579e073a5
https://github.com/tillahoffmann
Only restore alpha channel if _array_alpha is given.https://github.com/matplotlib/matplotlib/pull/8183/commits/c9c96abc21dfe71b27761d31a96ca68c148d85f7
c9c96abhttps://github.com/matplotlib/matplotlib/pull/8183/commits/c9c96abc21dfe71b27761d31a96ca68c148d85f7
https://github.com/tillahoffmann
Merge remote-tracking branch 'upstream/master' into arrayalphahttps://github.com/matplotlib/matplotlib/pull/8183/commits/f04266b99119d14ce44c21215269f91bbaf8299d
f04266bhttps://github.com/matplotlib/matplotlib/pull/8183/commits/f04266b99119d14ce44c21215269f91bbaf8299d
https://github.com/tillahoffmann
Rerender test images.https://github.com/matplotlib/matplotlib/pull/8183/commits/f6e788a0218c8ad9083ef918508b55800f874194
f6e788ahttps://github.com/matplotlib/matplotlib/pull/8183/commits/f6e788a0218c8ad9083ef918508b55800f874194
https://github.com/tillahoffmann
Add test for array alpha.https://github.com/matplotlib/matplotlib/pull/8183/commits/efc8b744e87916e8f65c9d4f9829ed8eb94d2b48
efc8b74https://github.com/matplotlib/matplotlib/pull/8183/commits/efc8b744e87916e8f65c9d4f9829ed8eb94d2b48
https://github.com/tillahoffmann
Update docstring.https://github.com/matplotlib/matplotlib/pull/8183/commits/b9bce13f4643679fa166e4971d927b4fecf84ef4
b9bce13https://github.com/matplotlib/matplotlib/pull/8183/commits/b9bce13f4643679fa166e4971d927b4fecf84ef4
https://github.com/tillahoffmann
Merge remote-tracking branch 'upstream/master' into arrayalphahttps://github.com/matplotlib/matplotlib/pull/8183/commits/c5437e5fdf2def02cb6daf7a3c84e0fc939f4266
c5437e5https://github.com/matplotlib/matplotlib/pull/8183/commits/c5437e5fdf2def02cb6daf7a3c84e0fc939f4266
https://github.com/tillahoffmann
Trigger CIhttps://github.com/matplotlib/matplotlib/pull/8183/commits/fdbc95100a579e1805ca47c1a6de89811e02d614
fdbc951https://github.com/matplotlib/matplotlib/pull/8183/commits/fdbc95100a579e1805ca47c1a6de89811e02d614
https://github.com/QuLogic
QuLogichttps://github.com/QuLogic
Mar 7, 2017https://github.com/matplotlib/matplotlib/pull/8183#issuecomment-284842321
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/8183
https://github.com/dstansby
dstansbyhttps://github.com/dstansby
Mar 7, 2017https://github.com/matplotlib/matplotlib/pull/8183#issuecomment-284843717
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/8183
https://github.com/tillahoffmann
tillahoffmannhttps://github.com/tillahoffmann
Mar 8, 2017https://github.com/matplotlib/matplotlib/pull/8183#issuecomment-285109037
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/8183
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
Mar 8, 2017https://github.com/matplotlib/matplotlib/pull/8183#event-991825645
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
Mar 8, 2017https://github.com/matplotlib/matplotlib/pull/8183#issuecomment-285124932
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/8183
https://github.com/QuLogic
QuLogichttps://github.com/QuLogic
Mar 13, 2017 https://github.com/matplotlib/matplotlib/pull/8183#ref-issue-205063598
imshow interpolation uses masked values #8012 https://github.com/matplotlib/matplotlib/issues/8012
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
Aug 29, 2017https://github.com/matplotlib/matplotlib/pull/8183#event-1224766636
https://github.com/jklymak
jklymakhttps://github.com/jklymak
Jul 16, 2019https://github.com/matplotlib/matplotlib/pull/8183#issuecomment-512043529
@tillahoffmannhttps://github.com/tillahoffmann
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/8183
https://github.com/jklymak
jklymakhttps://github.com/jklymak
status: needs rebase https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20needs%20rebase%22
Jul 16, 2019https://github.com/matplotlib/matplotlib/pull/8183#event-2487804241
https://github.com/jklymak
jklymakhttps://github.com/jklymak
needs sortinghttps://github.com/matplotlib/matplotlib/milestone/25
v3.2.0https://github.com/matplotlib/matplotlib/milestone/43
Jul 16, 2019https://github.com/matplotlib/matplotlib/pull/8183#event-2487804353
https://github.com/tillahoffmann
tillahoffmannhttps://github.com/tillahoffmann
Jul 25, 2019https://github.com/matplotlib/matplotlib/pull/8183#issuecomment-515069597
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/8183
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/8183
https://github.com/tillahoffmann
tillahoffmannhttps://github.com/tillahoffmann
Jul 25, 2019https://github.com/matplotlib/matplotlib/pull/8183#event-2509737232
https://github.com/jklymak
jklymakhttps://github.com/jklymak
Jul 25, 2019https://github.com/matplotlib/matplotlib/pull/8183#issuecomment-515072703
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/8183
https://github.com/tillahoffmann
tillahoffmannhttps://github.com/tillahoffmann
Jul 25, 2019 https://github.com/matplotlib/matplotlib/pull/8183#ref-pullrequest-472907649
Support pixel-by-pixel alpha in imshow. #14889 https://github.com/matplotlib/matplotlib/pull/14889
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
Jul 25, 2019https://github.com/matplotlib/matplotlib/pull/8183#issuecomment-515252121
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/8183
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%2F8183
https://github.com/tacaswell
tacaswell https://github.com/tacaswell
https://github.com/matplotlib/matplotlib/pull/8183/files/157fc86d47991fb613b1ba29b9caf3a75a4c2468
https://github.com/tacaswell
tacaswell https://github.com/tacaswell
status: needs rebase https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20needs%20rebase%22
v3.2.0 https://github.com/matplotlib/matplotlib/milestone/43
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/8183
https://github.com/tillahoffmann
https://github.com/dstansby
https://github.com/tacaswell
https://github.com/QuLogic
https://github.com/jklymak
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.