Title: [ENH]: support RGB(A) in pcolor · Issue #25770 · matplotlib/matplotlib · GitHub
Open Graph Title: [ENH]: support RGB(A) in pcolor · Issue #25770 · matplotlib/matplotlib
X Title: [ENH]: support RGB(A) in pcolor · Issue #25770 · matplotlib/matplotlib
Description: Problem Since #24619 pcolormesh can handle RGB(A) arrays. There is an entirely reasonable request in Cartopy that pcolormesh there also supports this (SciTools/cartopy#2156). However, Cartopy’s wrapping logic for pcolormesh actually uses...
Open Graph Description: Problem Since #24619 pcolormesh can handle RGB(A) arrays. There is an entirely reasonable request in Cartopy that pcolormesh there also supports this (SciTools/cartopy#2156). However, Cartopy’s wra...
X Description: Problem Since #24619 pcolormesh can handle RGB(A) arrays. There is an entirely reasonable request in Cartopy that pcolormesh there also supports this (SciTools/cartopy#2156). However, Cartopy’s wra...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/25770
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[ENH]: support RGB(A) in pcolor","articleBody":"### Problem\n\nSince #24619 `pcolormesh` can handle RGB(A) arrays. There is an entirely reasonable request in Cartopy that `pcolormesh` there also supports this (https://github.com/SciTools/cartopy/issues/2156). However, Cartopy’s wrapping logic for `pcolormesh` actually [uses `pcolor` under the hood](https://github.com/SciTools/cartopy/blob/c8f1b0f2363bcceca75d2afaaee6988b7717cfa7/lib/cartopy/mpl/geoaxes.py#L1954-L1964), so we’d need RGB(A) support in `pcolor` before we could get it working.\n\n### Proposed solution\n\nI think we first need #25027 and then add RGB(A) logic on top of that, but I have not dug too far into the details.\r\n\r\ncc @greglucas","author":{"url":"https://github.com/rcomer","@type":"Person","name":"rcomer"},"datePublished":"2023-04-26T09:49:03.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/25770/matplotlib/issues/25770"}
| 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:9815d283-e395-5136-4d8a-d06fdef855ee |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A390:27E2F7:1F6BE3:291C13:6A52E5BE |
| html-safe-nonce | 25c8ba0b271b9c7fa57c2559bc2a472107f8a86dce28a5041d58f3b43f9a29ba |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzkwOjI3RTJGNzoxRjZCRTM6MjkxQzEzOjZBNTJFNUJFIiwidmlzaXRvcl9pZCI6Ijc1MDg2MDYxNTU2MDY1MjIyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0e5ad793f54070f415276fedde149f2bd048d3747f039d64e48a25a2f35a1cd1 |
| hovercard-subject-tag | issue:1684677575 |
| 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/25770/issue_layout |
| twitter:image | https://opengraph.githubassets.com/86e1e4922d7935d6abcb2d54422f0d348e57a5308171d480f1c7dbb02a4b83c0/matplotlib/matplotlib/issues/25770 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/86e1e4922d7935d6abcb2d54422f0d348e57a5308171d480f1c7dbb02a4b83c0/matplotlib/matplotlib/issues/25770 |
| og:image:alt | Problem Since #24619 pcolormesh can handle RGB(A) arrays. There is an entirely reasonable request in Cartopy that pcolormesh there also supports this (SciTools/cartopy#2156). However, Cartopy’s wra... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rcomer |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width