Title: Discrete colorscales for heatmaps · Issue #1785 · plotly/plotly.js · GitHub
Open Graph Title: Discrete colorscales for heatmaps · Issue #1785 · plotly/plotly.js
X Title: Discrete colorscales for heatmaps · Issue #1785 · plotly/plotly.js
Description: I was reading https://www.vox.com/policy-and-politics/2017/6/13/15792276/trump-obamacare-map and got annoyed by the colorbar: Is "2" grey or light blue? Totally ambiguous. They need to move the labels to the middle of the corresponding c...
Open Graph Description: I was reading https://www.vox.com/policy-and-politics/2017/6/13/15792276/trump-obamacare-map and got annoyed by the colorbar: Is "2" grey or light blue? Totally ambiguous. They need to move the lab...
X Description: I was reading https://www.vox.com/policy-and-politics/2017/6/13/15792276/trump-obamacare-map and got annoyed by the colorbar: Is "2" grey or light blue? Totally ambiguous. They need to mo...
Opengraph URL: https://github.com/plotly/plotly.js/issues/1785
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Discrete colorscales for heatmaps","articleBody":"I was reading https://www.vox.com/policy-and-politics/2017/6/13/15792276/trump-obamacare-map and got annoyed by the colorbar:\r\n\r\n\r\n\r\nIs \"2\" grey or light blue? Totally ambiguous. They need to move the labels to the middle of the corresponding color swatch. Ironically the Trump administration map, which the article so painstakingly picked apart, made it much clearer what each color means.\r\n\r\nBut I realized that, while we make discrete colorbars for contour maps (though in that case you really *do* want to place the label the boundary, and that's what we do), we actually don't have this ability with heatmaps and choropleths, we can only do continuous gradations for these types. We should support that, and perhaps even default to it when the data values are discrete like this.","author":{"url":"https://github.com/alexcjohnson","@type":"Person","name":"alexcjohnson"},"datePublished":"2017-06-14T04:43:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/1785/plotly.js/issues/1785"}
| 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:e0b0617f-c8b8-805b-7ab4-1d7d94c48398 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C5A2:37F578:33DE3B3:4A5BC6D:6A56888B |
| html-safe-nonce | 972b9a29bb3de8ba0b8085395e1408c2d83998b25439984135bc770056f3860a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNUEyOjM3RjU3ODozM0RFM0IzOjRBNUJDNkQ6NkE1Njg4OEIiLCJ2aXNpdG9yX2lkIjoiMTQ4NTkzMzU4OTg1OTIyNjk5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5119e183617e710a028dfd180d17e32f191877953284877eb7b059d67ff7839a |
| hovercard-subject-tag | issue:235761147 |
| 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/plotly/plotly.js/1785/issue_layout |
| twitter:image | https://opengraph.githubassets.com/939dde32b2e18d07a969443e272091502e94b5a69d374c9608349a2ba2a62226/plotly/plotly.js/issues/1785 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/939dde32b2e18d07a969443e272091502e94b5a69d374c9608349a2ba2a62226/plotly/plotly.js/issues/1785 |
| og:image:alt | I was reading https://www.vox.com/policy-and-politics/2017/6/13/15792276/trump-obamacare-map and got annoyed by the colorbar: Is "2" grey or light blue? Totally ambiguous. They need to move the lab... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alexcjohnson |
| hostname | github.com |
| expected-hostname | github.com |
| None | 8f21be8503ba8fe6154df415b855c03af52eae3f285bd6ae1fef041dc053da38 |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/plotly.js git https://github.com/plotly/plotly.js.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 45646037 |
| octolytics-dimension-repository_nwo | plotly/plotly.js |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 45646037 |
| octolytics-dimension-repository_network_root_nwo | plotly/plotly.js |
| 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 | 78af172a48a2056810bb627ffa684003e4f9a5ca |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width