Multiple extendTraces calls causes axis data to mix
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 18.3k
- フォーク
- 2k
- 平均マージ
- 2日 12時間
- マージ済み PR(30日)
- 28
説明
Axis data becomes mixed between graphs when using Plotly.extendTraces on more than one graph on a page.
You can find a reproducible example below:
https://jsfiddle.net/au7jgfkw/24/
Screenshot of the bug in question:

As you can see, the first graph works as in tended. However, the proceeding two graphs contain the axis data related to another graph. Running the three lines of extendTraces further mixes the data between the graphs.
I have also tried nesting subsequent extendTraces calls in a .then callback to ensure that each line is called synchronously. However, this yields the same result.
I have also created a post on Plotly.js forums regarding this bug 25 days ago, but it does not have any comments.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
https://jsfiddle.net/au7jgfkw/24/ の再現可能な例から始め、別々のグラフで行われる3つの Plotly.extendTraces 呼び出しを調べてください。各呼び出しの後の軸データを比較し、呼び出しを then コールバック内にネストすると結果が変わるかどうかを確認してください。繰り返し更新しても各グラフの軸データが分離されたままになることが完了の条件です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- data-visualization
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100