Title: [Doc]: replace usages of `.imread` with PIL.Image.open · Issue #25914 · matplotlib/matplotlib · GitHub
Open Graph Title: [Doc]: replace usages of `.imread` with PIL.Image.open · Issue #25914 · matplotlib/matplotlib
X Title: [Doc]: replace usages of `.imread` with PIL.Image.open · Issue #25914 · matplotlib/matplotlib
Description: Documentation Link https://matplotlib.org/devdocs/api/image_api.html#matplotlib.image.imread Problem We flag the imread function with a note that it's not recommended, so we should follow our own guidance and replace usages of imread wit...
Open Graph Description: Documentation Link https://matplotlib.org/devdocs/api/image_api.html#matplotlib.image.imread Problem We flag the imread function with a note that it's not recommended, so we should follow our own g...
X Description: Documentation Link https://matplotlib.org/devdocs/api/image_api.html#matplotlib.image.imread Problem We flag the imread function with a note that it's not recommended, so we should follow our o...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/25914
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Doc]: replace usages of `.imread` with PIL.Image.open ","articleBody":"### Documentation Link\n\nhttps://matplotlib.org/devdocs/api/image_api.html#matplotlib.image.imread\n\n### Problem\n\nWe flag the imread function with a [note that it's not recommended](https://matplotlib.org/devdocs/api/image_api.html#matplotlib.image.imread), so we should follow our own guidance and replace usages of imread with PIL when possible.\n\n### Suggested improvement\n\nMarking this as a good first issue since it's replacing the usage of [`imread` in the code and examples](https://github.com/search?q=repo%3Amatplotlib%2Fmatplotlib%20imread\u0026type=code) with PIL.Image.open when possible. ","author":{"url":"https://github.com/story645","@type":"Person","name":"story645"},"datePublished":"2023-05-18T22:51:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":15},"url":"https://github.com/25914/matplotlib/issues/25914"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:07d29b11-fe66-b311-151b-a094039cc050 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8540:1D428F:44BD7D:5D275A:6A51C5AA |
| html-safe-nonce | b5c6427f6253ac77ea55199514740c5e0bb367d4836b655e955f160ae3c91943 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTQwOjFENDI4Rjo0NEJEN0Q6NUQyNzVBOjZBNTFDNUFBIiwidmlzaXRvcl9pZCI6Ijg0NjM2NzQ4NTYwNjc2Nzk2NTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f27b41c9376b3bd2a7714b69e7620f06235ad8bc5e6940463052c5c1c14a8b3e |
| hovercard-subject-tag | issue:1716361367 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/25914/issue_layout |
| twitter:image | https://opengraph.githubassets.com/96a065522f5bf96a997f447442ece5f22ac763e5b9b0f2fb9597c88161275dc3/matplotlib/matplotlib/issues/25914 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/96a065522f5bf96a997f447442ece5f22ac763e5b9b0f2fb9597c88161275dc3/matplotlib/matplotlib/issues/25914 |
| og:image:alt | Documentation Link https://matplotlib.org/devdocs/api/image_api.html#matplotlib.image.imread Problem We flag the imread function with a note that it's not recommended, so we should follow our own g... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | story645 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| 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 |
Links:
Viewport: width=device-width