Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add willReadFrequently to 2d canvas contexts to heatmap #6741

Merged
merged 1 commit into from Oct 4, 2023

Conversation

bebeal
Copy link
Contributor

@bebeal bebeal commented Sep 30, 2023

fix for #6740

This change adds the willReadFrequently:true 2d context creation
attribute to the heatmap plotly. This is a performance hint that tells
the browser to optimize for readbacks.

See: https://html.spec.whatwg.org/multipage/canvas.html#concept-canvas-will-read-frequently

@bebeal bebeal changed the title Add willReadFrequently to 2d canvas contexts to heatmap Add willReadFrequently to 2d canvas contexts for heatmap Sep 30, 2023
@bebeal bebeal changed the title Add willReadFrequently to 2d canvas contexts for heatmap Add willReadFrequently to 2d canvas contexts to heatmap Sep 30, 2023
@archmoj
Copy link
Contributor

archmoj commented Oct 4, 2023

Looking good.
Please add draftlogs/6741_fix.md as described here .
Thank you!

@archmoj
Copy link
Contributor

archmoj commented Oct 4, 2023

This PR is the follow up of #6084.

@archmoj
Copy link
Contributor

archmoj commented Oct 4, 2023

No need for the draftlog. I'll mention this PR in the release changelog.
Thank you!
💃

@archmoj archmoj merged commit 96254ca into plotly:master Oct 4, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants