plotly / plotly/plotly.js

yaxis.autorange === true unexpected behavior since 3.0

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

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

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

説明

Hello everyone,

Since updating to 3.0, we are observing a regression on the autorange option.
https://dps.report/jkgm-20250217-204224_ura
You can see there, on "Graph", when swapping from "PS" to "cumulative", the y axis does not properly adjust anymore, despite "autorange" on it being true.

The graph's update is triggered on a "plotly_animated" event and then Plotly.relayout API is called. I could not find anything in the documentation regarding if we were doing something wrong or if there was a migration effort to be had on that area when upgrading to 3.0.
Issue is still present on 3.0.1.

Thanks.

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

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

はじめの一歩

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

調査の方向性

リンクされたグラフの再現から始め、Plotly 3.0 と 3.0.1 の動作を比較してください。plotly_animated イベントに続く Plotly.relayout 呼び出しを追跡し、PS から cumulative に切り替えたときに yaxis.autorange が調整されず true のままになる理由に焦点を当ててください。切り替え後に y 軸が正しく更新されるか、移行要件が文書化されれば完了です。

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

評価

技術スタック
javascript
領域
data-visualization
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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