Title: Browser Warning due to missing `willReadFrequently` on heatmap · Issue #6740 · plotly/plotly.js · GitHub
Open Graph Title: Browser Warning due to missing `willReadFrequently` on heatmap · Issue #6740 · plotly/plotly.js
X Title: Browser Warning due to missing `willReadFrequently` on heatmap · Issue #6740 · plotly/plotly.js
Description: To reproduce, make a heatmap, open up the console and see: plotly.js:114952 Canvas2D: Multiple readback operations using getImageData are faster with the willReadFrequently attribute set to true. See: https://html.spec.whatwg.org/multipa...
Open Graph Description: To reproduce, make a heatmap, open up the console and see: plotly.js:114952 Canvas2D: Multiple readback operations using getImageData are faster with the willReadFrequently attribute set to true. S...
X Description: To reproduce, make a heatmap, open up the console and see: plotly.js:114952 Canvas2D: Multiple readback operations using getImageData are faster with the willReadFrequently attribute set to true. S...
Opengraph URL: https://github.com/plotly/plotly.js/issues/6740
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Browser Warning due to missing `willReadFrequently` on heatmap","articleBody":"To reproduce, make a heatmap, open up the console and see:\r\n\r\n```\r\nplotly.js:114952 Canvas2D: Multiple readback operations using getImageData are faster with the willReadFrequently attribute set to true. See: https://html.spec.whatwg.org/multipage/canvas.html#concept-canvas-will-read-frequently\r\ngetPixels @ plotly.js:114952\r\nvectorizeText @ plotly.js:114956\r\ncreateText @ plotly.js:114946\r\ntryVectorizeText @ plotly.js:113624\r\naddItem @ plotly.js:113617\r\nproto.update @ plotly.js:113619\r\ncreateTextSprites @ plotly.js:113624\r\nproto.update @ plotly.js:113562\r\ncreateAxes @ plotly.js:113595\r\ncreateScene @ plotly.js:113915\r\n__webpack_modules__.33539.proto.tryCreatePlot @ plotly.js:52996\r\n__webpack_modules__.33539.proto.initializeGLPlot @ plotly.js:53036\r\nScene @ plotly.js:52946\r\nplot @ plotly.js:52053\r\n__webpack_modules__.61549.exports.drawData @ plotly.js:36679\r\n__webpack_modules__.71828.lib.syncOrAsync @ plotly.js:26541\r\ncontinueAsync @ plotly.js:26537\r\nPromise.then (async)\r\n__webpack_modules__.71828.lib.syncOrAsync @ plotly.js:26543\r\n_doPlot @ plotly.js:31810\r\nnewPlot @ plotly.js:31969\r\nreact @ plotly.js:33884\r\neval @ factory.js:89\r\nPromise.then (async)\r\nupdatePlotly @ factory.js:79\r\ncomponentDidMount @ factory.js:119\r\nreappearLayoutEffects @ react-dom.development.js:23052\r\nrecursivelyTraverseReappearLayoutEffects @ react-dom.development.js:23156\r\nreappearLayoutEffects @ react-dom.development.js:23038\r\n...\r\n```\r\n\r\nThis line needs updating: https://github.com/plotly/plotly.js/blob/915a52b6a999226fce7faed86107de3c83663952/src/traces/heatmap/plot.js#L165 similar to https://github.com/plotly/plotly.js/pull/6084","author":{"url":"https://github.com/bebeal","@type":"Person","name":"bebeal"},"datePublished":"2023-09-30T18:05:18Z","url":"https://github.com/plotly/plotly.js/issues/6740"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1c384f78-ebc3-162a-a943-6ffa7777224a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C07A:136CDA:E64D0F:131405E:6B01D434 |
| html-safe-nonce | 4cefa4e055f3bd4f430a75be87f4b470d03cf4af5ec9d17884b74e006bccac62 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDdBOjEzNkNEQTpFNjREMEY6MTMxNDA1RTo2QjAxRDQzNCIsInZpc2l0b3JfaWQiOiI4NTQ0Njc0Nzg2Nzc1NzgyNDUzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1f03f2a9a20eee361c3f3d86c8118825c4774ed3164eafcc27547802a23b9439 |
| hovercard-subject-tag | issue:1920351128 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plotly/plotly.js/6740/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1e10bcf7bdcf8dcb6f9b828f14a0b16858d113db788fe0214f9e19ca3e3090dd/plotly/plotly.js/issues/6740 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1e10bcf7bdcf8dcb6f9b828f14a0b16858d113db788fe0214f9e19ca3e3090dd/plotly/plotly.js/issues/6740 |
| og:image:alt | To reproduce, make a heatmap, open up the console and see: plotly.js:114952 Canvas2D: Multiple readback operations using getImageData are faster with the willReadFrequently attribute set to true. S... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bebeal |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/plotly.js git https://github.com/plotly/plotly.js.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 45646037 |
| octolytics-dimension-repository_nwo | plotly/plotly.js |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 45646037 |
| octolytics-dimension-repository_network_root_nwo | plotly/plotly.js |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width