Title: Annotated Heatmap: automatic font color · Issue #485 · plotly/Plotly.NET · GitHub
Open Graph Title: Annotated Heatmap: automatic font color · Issue #485 · plotly/Plotly.NET
X Title: Annotated Heatmap: automatic font color · Issue #485 · plotly/Plotly.NET
Description: Given an annotated heatmap I would expect the cell text to contrast with the cell color. (Not doing so leads to the readability issues in the current documentation/example of Annotated Heatmap: https://plotly.net/simple-charts/heatmaps.h...
Open Graph Description: Given an annotated heatmap I would expect the cell text to contrast with the cell color. (Not doing so leads to the readability issues in the current documentation/example of Annotated Heatmap: htt...
X Description: Given an annotated heatmap I would expect the cell text to contrast with the cell color. (Not doing so leads to the readability issues in the current documentation/example of Annotated Heatmap: htt...
Opengraph URL: https://github.com/plotly/Plotly.NET/issues/485
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Annotated Heatmap: automatic font color","articleBody":"Given an annotated heatmap I would expect the cell text to contrast with the cell color.\n(Not doing so leads to the readability issues in the current documentation/example of Annotated Heatmap: https://plotly.net/simple-charts/heatmaps.html)\n\nA good contrast is shown and discussed on the python side of plotly: https://github.com/plotly/plotly.py/issues/1300\n\nWhen I did not find a way to do that, I looked at the implementation of `AnnotatedHeatmap`.\nHere the configuration of the annotations is not dependent on the actual cell values - I could only apply a workaround of setting a background color.\nI did not find/check the actual layouting step if there is a better place to compute correct font color.\n\n","author":{"url":"https://github.com/u3r","@type":"Person","name":"u3r"},"datePublished":"2025-03-28T09:55:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/485/Plotly.NET/issues/485"}
| 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:640d36f8-e246-bb5c-8542-312a3a563fdd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BF4E:8BED9:11916C:177E7E:698ED73B |
| html-safe-nonce | bfcd140b1c6a96da11ece449cc801382d5461111dda45adba6a5bef752724ad0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjRFOjhCRUQ5OjExOTE2QzoxNzdFN0U6Njk4RUQ3M0IiLCJ2aXNpdG9yX2lkIjoiNTA2NDM1OTQ0OTg4OTUyNzYxMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fcfe43b10f66c305abf52223eb95a240577054484648f03105ffe7ebe5519913 |
| hovercard-subject-tag | issue:2955600666 |
| 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.NET/485/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1324992cad1a3490e027139e4a7a871cbd6ce75898276916a7ab3ab22a396bb1/plotly/Plotly.NET/issues/485 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1324992cad1a3490e027139e4a7a871cbd6ce75898276916a7ab3ab22a396bb1/plotly/Plotly.NET/issues/485 |
| og:image:alt | Given an annotated heatmap I would expect the cell text to contrast with the cell color. (Not doing so leads to the readability issues in the current documentation/example of Annotated Heatmap: htt... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | u3r |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb2828a801ee6b7be618f3ac76fbf55def35bbc30f053a9c41bf90210b8b72ba |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/Plotly.NET git https://github.com/plotly/Plotly.NET.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 58708375 |
| octolytics-dimension-repository_nwo | plotly/Plotly.NET |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 58708375 |
| octolytics-dimension-repository_network_root_nwo | plotly/Plotly.NET |
| 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 | e6b91a7e6e46287d26887e3fb7a4161657bab8f7 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width