Scattergl plot rendering issues in Firefox – Missing traces on updates
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 18.3k
- フォーク
- 2k
- 平均マージ
- 2日 12時間
- マージ済み PR(30日)
- 28
説明
When updating scattergl plots in Firefox, some traces do not render as expected. This issue does not appear in other browsers, such as Chrome or Edge, where the scattergl traces are rendered as expected. When using scattergl, certain traces may not be displayed properly, resulting in missing visualizations on the graph despite their presence in the data. This issue is particularly noticeable with scattergl plots utilizing WebGL rendering.
The problem is absent when using scatter traces, which rely on SVG rendering, suggesting a potential WebGL compatibility or rendering issue specific to Firefox. The observed behavior occurs consistently across different datasets and setups, suggesting a deeper compatibility problem between WebGL rendering in Firefox and the Plotly scattergl implementation. Furthermore, there are no error messages in the browser console during the issue.
Here is a really simple reproducing example:
https://codepen.io/Puneet-Sharma112/pen/NWQOyVv
I also see a related issue which was created long back but was closed as non-reproducible.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
FirefoxでリンクされたCodePenの再現を開始し、scatterglの更新を、動作しているscatter/SVGのケースおよびChromeやEdgeと比較します。再現で問題となっているJavaScript scatterglのWebGLレンダリングパスを追跡します。Firefoxで更新後もすべてのtracesが表示されたままで、既存のscatterの動作や他のブラウザーに影響がない状態が完了条件です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- computer-graphics, data-visualization, frontend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100