René's URL Explorer Experiment


Title: Fix imshow()ing PIL-opened images. by anntzer · Pull Request #13405 · matplotlib/matplotlib · GitHub

Open Graph Title: Fix imshow()ing PIL-opened images. by anntzer · Pull Request #13405 · matplotlib/matplotlib

X Title: Fix imshow()ing PIL-opened images. by anntzer · Pull Request #13405 · matplotlib/matplotlib

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

Open Graph Description: We actually handle grayscale images just fine, but they need to be transformed into masked arrays like everyone else. Closes #12140 (regression in 2.1.0), so maybe worth backporting to 2.2.x. PR Su...

X Description: We actually handle grayscale images just fine, but they need to be transformed into masked arrays like everyone else. Closes #12140 (regression in 2.1.0), so maybe worth backporting to 2.2.x. PR Su...

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

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:8b223226-034b-cef8-c9ba-6048d60fa797
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD530:3E16F:43A427:5A3F77:6A57FF20
html-safe-nonce95fdb2b5c158e0028de596ecc09c59aaf35a91ec80a8f6d2769831f129854734
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTMwOjNFMTZGOjQzQTQyNzo1QTNGNzc6NkE1N0ZGMjAiLCJ2aXNpdG9yX2lkIjoiMTQ2NTI5MTA0MTg1NTI0MjAxNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac88c2a6fa2b42bf560c76df147aee4ce08a3ed22952ec962bf451261b12b16c59
hovercard-subject-tagpull_request:251834740
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/13405/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/fd67e0904b2178b60ea1ed1e4b1e60e5509e3bd8f0e0d8efdc606d9572cacf56/matplotlib/matplotlib/pull/13405
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fd67e0904b2178b60ea1ed1e4b1e60e5509e3bd8f0e0d8efdc606d9572cacf56/matplotlib/matplotlib/pull/13405
og:image:altWe actually handle grayscale images just fine, but they need to be transformed into masked arrays like everyone else. Closes #12140 (regression in 2.1.0), so maybe worth backporting to 2.2.x. PR Su...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameanntzer
hostnamegithub.com
expected-hostnamegithub.com
None49c8c15fabcbf356d607a90ca115c13b273e42ff8b74155de050fd229a9b0121
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
release3fb1f684e7a833eb1b2d01d39875a2b52cb4fe9b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/matplotlib/matplotlib/pull/13405#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F13405
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%2F13405
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/13405
Reloadhttps://github.com/matplotlib/matplotlib/pull/13405
Reloadhttps://github.com/matplotlib/matplotlib/pull/13405
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/13405
matplotlib https://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/13405
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
jklymakhttps://github.com/jklymak
matplotlib:masterhttps://github.com/matplotlib/matplotlib/tree/master
anntzer:pil_imshowhttps://github.com/anntzer/matplotlib/tree/pil_imshow
Conversationhttps://github.com/matplotlib/matplotlib/pull/13405
Commits1 (1)https://github.com/matplotlib/matplotlib/pull/13405/commits
Checkshttps://github.com/matplotlib/matplotlib/pull/13405/checks
Files changedhttps://github.com/matplotlib/matplotlib/pull/13405/files
Fix imshow()ing PIL-opened images.https://github.com/matplotlib/matplotlib/pull/13405#top
jklymakhttps://github.com/jklymak
matplotlib:masterhttps://github.com/matplotlib/matplotlib/tree/master
anntzer:pil_imshowhttps://github.com/anntzer/matplotlib/tree/pil_imshow
https://github.com/anntzer
anntzerhttps://github.com/anntzer
Feb 11, 2019https://github.com/matplotlib/matplotlib/pull/13405#issue-408679476
#12140https://github.com/matplotlib/matplotlib/issues/12140
Flake 8http://flake8.pycqa.org/en/latest/
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/13405
https://github.com/anntzer
Fix imshow()ing PIL-opened images.https://github.com/matplotlib/matplotlib/pull/13405/commits/c7cc36337a78ad2764630b0772ff5c58bc31022a
c7cc363https://github.com/matplotlib/matplotlib/pull/13405/commits/c7cc36337a78ad2764630b0772ff5c58bc31022a
https://github.com/anntzer
anntzerhttps://github.com/anntzer
v3.1.0https://github.com/matplotlib/matplotlib/milestone/35
Feb 11, 2019https://github.com/matplotlib/matplotlib/pull/13405#event-2129926552
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
v3.1.0https://github.com/matplotlib/matplotlib/milestone/35
v2.2.4https://github.com/matplotlib/matplotlib/milestone/36
Feb 11, 2019https://github.com/matplotlib/matplotlib/pull/13405#event-2130732461
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
Feb 11, 2019 https://github.com/matplotlib/matplotlib/pull/13405#pullrequestreview-202138385
View reviewed changes https://github.com/matplotlib/matplotlib/pull/13405/files/c7cc36337a78ad2764630b0772ff5c58bc31022a
tacaswellhttps://github.com/tacaswell
https://github.com/matplotlib/matplotlib/pull/13405#pullrequestreview-202138385
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/13405
https://github.com/anntzer
anntzerhttps://github.com/anntzer
Feb 11, 2019https://github.com/matplotlib/matplotlib/pull/13405#issuecomment-462352834
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/13405
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
Feb 11, 2019https://github.com/matplotlib/matplotlib/pull/13405#event-2132146957
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
Feb 11, 2019https://github.com/matplotlib/matplotlib/pull/13405#event-2132146971
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
Feb 11, 2019https://github.com/matplotlib/matplotlib/pull/13405#issuecomment-462543212
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/13405
https://github.com/jklymak
jklymakhttps://github.com/jklymak
Feb 12, 2019 https://github.com/matplotlib/matplotlib/pull/13405#pullrequestreview-202423998
View reviewed changes https://github.com/matplotlib/matplotlib/pull/13405/files/c7cc36337a78ad2764630b0772ff5c58bc31022a
https://github.com/jklymak
jklymakhttps://github.com/jklymak
0e2b9b1https://github.com/matplotlib/matplotlib/commit/0e2b9b1bed3109dcf2ac9398a8ef7f405dc54f21
Feb 12, 2019https://github.com/matplotlib/matplotlib/pull/13405#event-2132255808
https://github.com/meeseeksmachine
meeseeksmachinehttps://github.com/meeseeksmachine
Feb 12, 2019 https://github.com/matplotlib/matplotlib/pull/13405#ref-pullrequest-409053773
Backport PR #13405 on branch v2.2.x (Fix imshow()ing PIL-opened images.) #13415 https://github.com/matplotlib/matplotlib/pull/13415
meeseeksmachinehttps://github.com/meeseeksmachine
Feb 12, 2019 https://github.com/matplotlib/matplotlib/pull/13405#ref-commit-4cb7364
https://github.com/jklymak
Backport PRhttps://github.com/meeseeksmachine/matplotlib/commit/4cb7364b7968a1f5992b428081d42d5814cd4644
matplotlib#13405https://github.com/matplotlib/matplotlib/pull/13405
: Fix imshow()ing PIL-opened images.https://github.com/meeseeksmachine/matplotlib/commit/4cb7364b7968a1f5992b428081d42d5814cd4644
4cb7364https://github.com/meeseeksmachine/matplotlib/commit/4cb7364b7968a1f5992b428081d42d5814cd4644
https://github.com/meeseeksmachine
meeseeksmachinehttps://github.com/meeseeksmachine
Feb 12, 2019 https://github.com/matplotlib/matplotlib/pull/13405#ref-pullrequest-409053811
Backport PR #13405 on branch v3.0.x (Fix imshow()ing PIL-opened images.) #13416 https://github.com/matplotlib/matplotlib/pull/13416
meeseeksmachinehttps://github.com/meeseeksmachine
Feb 12, 2019 https://github.com/matplotlib/matplotlib/pull/13405#ref-commit-f8f3145
https://github.com/jklymak
Backport PRhttps://github.com/meeseeksmachine/matplotlib/commit/f8f31457688f2fc1197a4ebeb9f39554aedc34ac
matplotlib#13405https://github.com/matplotlib/matplotlib/pull/13405
: Fix imshow()ing PIL-opened images.https://github.com/meeseeksmachine/matplotlib/commit/f8f31457688f2fc1197a4ebeb9f39554aedc34ac
f8f3145https://github.com/meeseeksmachine/matplotlib/commit/f8f31457688f2fc1197a4ebeb9f39554aedc34ac
https://github.com/anntzer
anntzerhttps://github.com/anntzer
February 12, 2019 06:13https://github.com/matplotlib/matplotlib/pull/13405#event-2132736496
timhoffmhttps://github.com/timhoffm
Feb 12, 2019 https://github.com/matplotlib/matplotlib/pull/13405#ref-commit-0e25859
https://github.com/timhoffm
Merge pull requesthttps://github.com/matplotlib/matplotlib/commit/0e25859863ac3450dae4f4f902ada8ef172b9c08
#13415https://github.com/matplotlib/matplotlib/pull/13415
from meeseeksmachine/auto-backport-of-pr-13…https://github.com/matplotlib/matplotlib/commit/0e25859863ac3450dae4f4f902ada8ef172b9c08
0e25859https://github.com/matplotlib/matplotlib/commit/0e25859863ac3450dae4f4f902ada8ef172b9c08
#13405https://github.com/matplotlib/matplotlib/pull/13405
dstansbyhttps://github.com/dstansby
Feb 12, 2019 https://github.com/matplotlib/matplotlib/pull/13405#ref-commit-c3653e4
https://github.com/dstansby
Merge pull requesthttps://github.com/matplotlib/matplotlib/commit/c3653e4d17720eda745559e1839df8ab5811eab4
#13416https://github.com/matplotlib/matplotlib/pull/13416
from meeseeksmachine/auto-backport-of-pr-13…https://github.com/matplotlib/matplotlib/commit/c3653e4d17720eda745559e1839df8ab5811eab4
c3653e4https://github.com/matplotlib/matplotlib/commit/c3653e4d17720eda745559e1839df8ab5811eab4
#13405https://github.com/matplotlib/matplotlib/pull/13405
https://github.com/ImportanceOfBeingErnest
ImportanceOfBeingErnesthttps://github.com/ImportanceOfBeingErnest
May 21, 2019 https://github.com/matplotlib/matplotlib/pull/13405#ref-issue-446654343
imshow() producing "inverted" colors since 3.0.3 #14293 https://github.com/matplotlib/matplotlib/issues/14293
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%2F13405
https://github.com/tacaswell
tacaswell https://github.com/tacaswell
https://github.com/matplotlib/matplotlib/pull/13405/files/c7cc36337a78ad2764630b0772ff5c58bc31022a
https://github.com/jklymak
jklymak https://github.com/jklymak
https://github.com/matplotlib/matplotlib/pull/13405/files/c7cc36337a78ad2764630b0772ff5c58bc31022a
v2.2.4 https://github.com/matplotlib/matplotlib/milestone/36
plt.imshow() error on PIL-opened tiff images https://github.com/matplotlib/matplotlib/issues/12140
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/13405
https://github.com/anntzer
https://github.com/tacaswell
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.