Title: Better bivariate and multivariate colormaps · Issue #30528 · matplotlib/matplotlib · GitHub
Open Graph Title: Better bivariate and multivariate colormaps · Issue #30528 · matplotlib/matplotlib
X Title: Better bivariate and multivariate colormaps · Issue #30528 · matplotlib/matplotlib
Description: Project https://github.com/orgs/matplotlib/projects/9, which resolves github.com//issues/14168 is divided into a number of milestones, of which this is one (highlighted in bold). Classes for bivariate and multivariate colormaps Colorizer...
Open Graph Description: Project https://github.com/orgs/matplotlib/projects/9, which resolves github.com//issues/14168 is divided into a number of milestones, of which this is one (highlighted in bold). Classes for bivari...
X Description: Project https://github.com/orgs/matplotlib/projects/9, which resolves github.com//issues/14168 is divided into a number of milestones, of which this is one (highlighted in bold). Classes for bivari...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/30528
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Better bivariate and multivariate colormaps","articleBody":"Project https://github.com/orgs/matplotlib/projects/9, which resolves github.com/matplotlib/matplotlib/issues/14168 is divided into a number of milestones, of which this is one (highlighted in bold).\n\n* Classes for bivariate and multivariate colormaps\n* `Colorizer` and `ColorizingArtist` to replace `ScalarMappable` and handle the norm→color pipeline\n* A `MultiNorm` class to handle the normalization of data for bivariate and multivariate colormaps\n* Ensure the `Colorizer` and `ColorizingArtist` work with `MultiNorm`, `BivarColormap` and `MultivarColormap`\n* Expose the new functionality via the top-level plotting functions: `imshow()`, `pcolor()` and `pcolormesh()`\n* Create equivalents to `fig.colorbar()` for `BivarColormap` and `MultivarColormap` to work with `ColorizingArtist`\n* **Select bivariate and multivariate colormaps to include in matplotlib**\n* Examples demonstrating the new functionality\n\n----\n\nWith the inclusion of https://github.com/matplotlib/matplotlib/pull/28454, matplotlib has support for `BivarColormap` and `MultivarColormap`. Two examples of `BivarColormap` and three of `MultivarColormap` were included:\n\nBivariate:\n\u003cimg width=\"452\" height=\"415\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/7d8f6841-93df-49f5-8b9e-1e5d5a619602\" /\u003e\n\n\u003cimg width=\"452\" height=\"415\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/4e181f2e-52d8-4cf9-b0ed-df8c90290959\" /\u003e\n\nMultivariate, 2 channels, additive:\n\u003cimg width=\"452\" height=\"249\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/66c6f241-d5e0-43c6-a270-cfc62531a515\" /\u003e\n\nMultivariate, 2 channels, subtractive:\n\u003cimg width=\"452\" height=\"249\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/02c6c78f-ad3a-4355-8b4b-2bd408203cd1\" /\u003e\n\nMultivariate, 3 channels, additive:\n\u003cimg width=\"452\" height=\"381\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/5dbc2168-96df-4b8a-b86f-b4f00bd1a6cf\" /\u003e\n\n---\n\nThese are insufficient for real-world use, and more colormaps are required, with more varied use cases.","author":{"url":"https://github.com/trygvrad","@type":"Person","name":"trygvrad"},"datePublished":"2025-09-08T12:49:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/30528/matplotlib/issues/30528"}
| 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:3377fede-3874-c855-1294-b945a71cf437 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A252:2D2272:1BA7DC:24CDA0:6A51748E |
| html-safe-nonce | bad2539328de05ca72df8736e8e39854d0f08b265c81cc83f8b4625f38337eab |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjUyOjJEMjI3MjoxQkE3REM6MjRDREEwOjZBNTE3NDhFIiwidmlzaXRvcl9pZCI6IjYzODI2MDc2Njc1MDQ5Njg4NDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 412e0ada976c973011c3b2e1c01ca132d35500336205d74087ada885e66687f9 |
| hovercard-subject-tag | issue:3394081814 |
| 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/30528/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bfa4ced996dc2e0dba36f870074dcc34900da31838dc425f241bff7b04c41ef3/matplotlib/matplotlib/issues/30528 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bfa4ced996dc2e0dba36f870074dcc34900da31838dc425f241bff7b04c41ef3/matplotlib/matplotlib/issues/30528 |
| og:image:alt | Project https://github.com/orgs/matplotlib/projects/9, which resolves github.com//issues/14168 is divided into a number of milestones, of which this is one (highlighted in bold). Classes for bivari... |
| 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 | b19955a9dd40fd99462443f7911b522d7216776a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width