Canvas2D willReadFrequently warning
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 18.3k
- Forks
- 2k
- Ø Merge
- 2 T. 12 Std.
- Gemergte PRs (30 T.)
- 28
Beschreibung
I am seeing the warning
Canvas2D: Multiple readback operations using getImageData are faster with the willReadFrequently attribute set to true.
I am using plotly.js-dist-min": "^2.35.2 and using a graph of type scatter3d.
Looking through the changelog I can see this fixed for heatmaps and 2D graphics (e.g. this pull request, https://github.com/plotly/plotly.js/pull/6741), but see no mention of 3D graphics. Also, if this is the case, I wonder if there are other types of graphs that also need this fix.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginnen Sie damit, den scatter3d-Renderingpfad mit der heatmap- und 2D graphics-Änderung in Pull Request #6741 zu vergleichen. Ermitteln Sie, welche Diagrammtypen die gemeldeten getImageData-Readbacks durchführen, und überprüfen Sie anschließend, ob die entsprechende Warnung für scatter3d und alle anderen betroffenen Typen behoben ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript
- Bereich
- data-visualization
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100