Title: Colormaps should have a `_repr_html_` that is an image of the colormap · Issue #15616 · matplotlib/matplotlib · GitHub
Open Graph Title: Colormaps should have a `_repr_html_` that is an image of the colormap · Issue #15616 · matplotlib/matplotlib
X Title: Colormaps should have a `_repr_html_` that is an image of the colormap · Issue #15616 · matplotlib/matplotlib
Description: colorcet has a swatch function in the plotting module that creates an image of the colormap. I think that the colormaps should have a _repr_html_ that does something similar.
Open Graph Description: colorcet has a swatch function in the plotting module that creates an image of the colormap. I think that the colormaps should have a _repr_html_ that does something similar.
X Description: colorcet has a swatch function in the plotting module that creates an image of the colormap. I think that the colormaps should have a _repr_html_ that does something similar.
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/15616
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Colormaps should have a `_repr_html_` that is an image of the colormap","articleBody":"`colorcet` has a swatch function in the plotting module that creates an image of the colormap.\r\n\r\n\u003cimg width=\"1048\" alt=\"Screen Shot 2019-11-06 at 3 00 22 PM\" src=\"https://user-images.githubusercontent.com/4806877/68333441-85f1aa00-00a6-11ea-99b0-d9ef9726c916.png\"\u003e\r\n\r\nI think that the colormaps should have a `_repr_html_` that does something similar.\r\n","author":{"url":"https://github.com/jsignell","@type":"Person","name":"jsignell"},"datePublished":"2019-11-06T20:09:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/15616/matplotlib/issues/15616"}
| 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:c04c8c66-83b9-3ae4-4bfc-a95ccd51e751 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C32A:107EC4:AD273E:EC07DB:6A520942 |
| html-safe-nonce | a571e3ef5f156654fa75b0a195d8cbbd9496d34af1e58e766b3e6f607589b3ac |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzJBOjEwN0VDNDpBRDI3M0U6RUMwN0RCOjZBNTIwOTQyIiwidmlzaXRvcl9pZCI6IjI5ODM3MDUzMzg0MDkyNTcyODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b5739e172b9c9dfd0797c99165daec9cb2f7d25b47767f1bace619b04208831a |
| hovercard-subject-tag | issue:518705952 |
| 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/15616/issue_layout |
| twitter:image | https://opengraph.githubassets.com/352132198dc7a402ea17b1a8b8528bad900bb7108a9726660bcb0e4cd540544a/matplotlib/matplotlib/issues/15616 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/352132198dc7a402ea17b1a8b8528bad900bb7108a9726660bcb0e4cd540544a/matplotlib/matplotlib/issues/15616 |
| og:image:alt | colorcet has a swatch function in the plotting module that creates an image of the colormap. I think that the colormaps should have a _repr_html_ that does something similar. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jsignell |
| 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