Annotated Heatmap: automatic font color
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 38/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- fsharp
- Bereich
- data-visualization
Rechercherichtung
Beginne mit dem Lesen der AnnotatedHeatmap-Implementierung und der im Issue verlinkten Dokumentation bzw. dem Beispiel für annotated heatmap und vergleiche anschließend das Kontrastverhalten, das in plotly.py issue 1300 diskutiert wird. Ermittle, an welcher Stelle die Farbe der Beschriftungsschrift die Zellwerte berücksichtigen kann, und beende die Arbeit, sobald der annotierte Text über die verschiedenen Heatmap-Farben hinweg lesbar bleibt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- F#
- Sterne
- 860
- Forks
- 99
- Ø Merge
- 22 Min.
- Gemergte PRs (30 T.)
- 1
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus plotly/Plotly.NET
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 78/100
plotly/Plotly.NET#498 ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 42/100
plotly/Plotly.NET#495 · 3 Kommentare ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 45/100
plotly/Plotly.NET#494 · 1 Kommentar ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
plotly/Plotly.NET#492 ·
-
Area: Core API
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 42/100
plotly/Plotly.NET#477 ·
Alle Issues in plotly/Plotly.NET
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
-
duplicate invalid
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
anthropics/claude-code#96312 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
palladius/ricc.rocks#7 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
pydata/pydata-sphinx-theme#2503 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
unitaryfoundation/metriq-gym#828 ·