Canvas2D willReadFrequently warning
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 18.3k
- Forks
- 2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 28
Description
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.
Contributor guide
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.
Research direction
Begin by comparing the scatter3d rendering path with the heatmap and 2D graphics change in pull request #6741. Identify which graph types perform the reported getImageData readbacks, then verify that the relevant warning is addressed for scatter3d and any other affected types.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100