Title: [ENH]: 2D colormaps · Issue #26590 · matplotlib/matplotlib · GitHub
Open Graph Title: [ENH]: 2D colormaps · Issue #26590 · matplotlib/matplotlib
X Title: [ENH]: 2D colormaps · Issue #26590 · matplotlib/matplotlib
Description: Problem A number of fields now routinely have correlated image data that can benefit from being visualized together. In these cases, a single 2D colormap allows one to see correlations not apparent when using two separate images with 1D ...
Open Graph Description: Problem A number of fields now routinely have correlated image data that can benefit from being visualized together. In these cases, a single 2D colormap allows one to see correlations not apparent...
X Description: Problem A number of fields now routinely have correlated image data that can benefit from being visualized together. In these cases, a single 2D colormap allows one to see correlations not apparent...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/26590
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[ENH]: 2D colormaps","articleBody":"### Problem\n\nA number of fields now routinely have correlated image data that can benefit from being visualized together. In these cases, a single 2D colormap allows one to see correlations not apparent when using two separate images with 1D colormaps side-by-side. However, constructing and using a 2D colormap in matplotlib is a non-trivial. \r\n\r\n\r\n\r\nI built a package of 2D colormaps designed to be used with matplotlib ( https://github.com/trygvrad/colorstamps, also on pypi) because there was demand within my research community. However, there are other implementations of 2D colormaps as well ( https://github.com/endolith/complex_colormap, https://pypi.org/project/pycolormap-2d/ , https://github.com/nschloe/cplot, and probably others. See also relevant papers such as https://doi.org/10.1117/12.2079841 etc.). At a recent scientific conference I was advised that integrating 2D colormaps into matplotlib proper might be of interest to the broader matplotlib community. I would be happy to contribute to this, but a number of decisions would have to be made with regards to implementation, API etc.\r\n\r\n\n\n### Proposed solution\n\nImplement an API for 2D colormaps in matplotlib.","author":{"url":"https://github.com/trygvrad","@type":"Person","name":"trygvrad"},"datePublished":"2023-08-24T07:58:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/26590/matplotlib/issues/26590"}
| 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:2ff10608-b6a8-cf76-9a90-13e02d6301d0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 984C:25C27F:80E62B:AA9077:6A527329 |
| html-safe-nonce | 1816b1a02fc0643caaf13d21a5bc910b5806bb804f5c8017662ea5209a8bc2fd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODRDOjI1QzI3Rjo4MEU2MkI6QUE5MDc3OjZBNTI3MzI5IiwidmlzaXRvcl9pZCI6IjU3NDA3NDc2ODAxMTM2NTI1MjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 50518294e4ee610eb94df5d5ebd461e036c53572c4326d80005d6d2a9ec3ad09 |
| hovercard-subject-tag | issue:1864619181 |
| 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/26590/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9d621ffe42df2c145fba77baa6ab32b33cc9882d23eeb7087ac1e3105581bf82/matplotlib/matplotlib/issues/26590 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9d621ffe42df2c145fba77baa6ab32b33cc9882d23eeb7087ac1e3105581bf82/matplotlib/matplotlib/issues/26590 |
| og:image:alt | Problem A number of fields now routinely have correlated image data that can benefit from being visualized together. In these cases, a single 2D colormap allows one to see correlations not apparent... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | trygvrad |
| 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 | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width