Annotated Heatmap: automatic font color
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 38/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- fsharp
- Domain
- data-visualization
Research direction
Start by reading the AnnotatedHeatmap implementation and the annotated heatmap documentation/example linked in the issue, then compare the contrast behavior discussed in plotly.py issue 1300. Determine where annotation font color can account for cell values and finish when annotated text remains readable across the heatmap colors.
Written by the indexing model from the issue text.
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.html)
A good contrast is shown and discussed on the python side of plotly: https://github.com/plotly/plotly.py/issues/1300
When I did not find a way to do that, I looked at the implementation of AnnotatedHeatmap.
Here the configuration of the annotations is not dependent on the actual cell values - I could only apply a workaround of setting a background color.
I did not find/check the actual layouting step if there is a better place to compute correct font color.
- Dominant language
- F#
- Stars
- 860
- Forks
- 99
- Avg merge
- 22m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from plotly/Plotly.NET
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
plotly/Plotly.NET#498 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
plotly/Plotly.NET#495 · 3 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
plotly/Plotly.NET#494 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
plotly/Plotly.NET#492 ·
-
Area: Core API
Difficulty 3/5 1-2 days Newbie friendliness 42/100
plotly/Plotly.NET#477 ·
All issues in plotly/Plotly.NET
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
scope: charts status: waiting for maintainer
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
chore P3 plotly-internal size: 3 task
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Live-Charts/LiveCharts2#2394 ·
-
Urgent request: Due to vulnerabilities move to API version 12.6.1 (12.6.2 eventually) or 13.1.1 Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
jbkunst/highcharter#849 ·