Title: Deprecate adding a (meaningless) colorbar to RGB or RGBA images · Issue #20576 · matplotlib/matplotlib · GitHub
Open Graph Title: Deprecate adding a (meaningless) colorbar to RGB or RGBA images · Issue #20576 · matplotlib/matplotlib
X Title: Deprecate adding a (meaningless) colorbar to RGB or RGBA images · Issue #20576 · matplotlib/matplotlib
Description: Describe the issue In #9391, I proposed to open a new issue for "colorbar should refuse to let itself be created for an RGB(A) image" because colorbars are not meaningful for images with existing color. #4369 (comment) similarly notes th...
Open Graph Description: Describe the issue In #9391, I proposed to open a new issue for "colorbar should refuse to let itself be created for an RGB(A) image" because colorbars are not meaningful for images with existing c...
X Description: Describe the issue In #9391, I proposed to open a new issue for "colorbar should refuse to let itself be created for an RGB(A) image" because colorbars are not meaningful for images with ...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/20576
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Deprecate adding a (meaningless) colorbar to RGB or RGBA images","articleBody":"### Describe the issue\r\n\r\nIn #9391, I proposed to [open a new issue for \"colorbar should refuse to let itself be created for an RGB(A) image\"](https://github.com/matplotlib/matplotlib/issues/9391#issuecomment-356577162) because colorbars are not meaningful for images with existing color. https://github.com/matplotlib/matplotlib/issues/4369#issuecomment-95383235 similarly notes that this makes no sense.\r\n\r\n(better late than never I guess!)\r\n\r\n### Proposed fix\r\n\r\nI think that attempting to add a colorbar for an RGB or RGBA image should be an explicit error, following a period of deprecation warnings.","author":{"url":"https://github.com/Zac-HD","@type":"Person","name":"Zac-HD"},"datePublished":"2021-07-05T08:03:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":20},"url":"https://github.com/20576/matplotlib/issues/20576"}
| 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:25df3793-dd58-3da9-a792-cf6f526563b6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C506:1C4F87:3E5E3F:531B05:6A529257 |
| html-safe-nonce | 4567d95acd86693d24d55ea587cabd62f95abd0bb84e365a2862d1a35611a62b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTA2OjFDNEY4NzozRTVFM0Y6NTMxQjA1OjZBNTI5MjU3IiwidmlzaXRvcl9pZCI6IjY0MTExMTE0Nzk5NTc5NTEwNjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 12d11111ef353867c1c0ce50a1b630a1157fce58995cb1b030f85b390b98f0d7 |
| hovercard-subject-tag | issue:936809755 |
| 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/20576/issue_layout |
| twitter:image | https://opengraph.githubassets.com/04440219715921287e8c84ff45bece3f9731512fdd5a39fcc1e413bbac0b6a05/matplotlib/matplotlib/issues/20576 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/04440219715921287e8c84ff45bece3f9731512fdd5a39fcc1e413bbac0b6a05/matplotlib/matplotlib/issues/20576 |
| og:image:alt | Describe the issue In #9391, I proposed to open a new issue for "colorbar should refuse to let itself be created for an RGB(A) image" because colorbars are not meaningful for images with existing c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Zac-HD |
| 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