Canvas2D willReadFrequently warning

オープン
#7,285 コメント 1 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
javascript

調査の方向性

まず、pull request #6741 における heatmap および 2D graphics の変更と scatter3d のレンダリングパスを比較します。報告されている getImageData の readback を実行するグラフの種類を特定し、そのうえで、該当する警告が scatter3d とその他の影響を受ける種類について解消されていることを確認します。

索引モデルが issue の本文から書いたものです。

説明

bug P3

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.

主要言語
JavaScript
スター
18.3k
フォーク
2k
平均マージ
2日 10時間
マージ済み PR(30日)
30

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

plotly/plotly.js のほかの issue

plotly/plotly.js の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。