Scatter3D does not remember its visual state in certain conditions
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 18.3k
- フォーク
- 2k
- 平均マージ
- 2日 12時間
- マージ済み PR(30日)
- 28
説明
Visual state is zoom level, orientation, position, etc...
Checking for saving state: simply click on one of this control buttons:
or call Plotly.restyle. None of these actions should change the visual state.
Bugs briefly:
- Mouse wheel zooming not saving last zoom lvl (always reverted to previous zoom lvl).
- Touch pad zooming/rotating/moving not saved at all.
Сonditions under which the visual state is not preserved:
Zoom without mouse click - by mouse wheel.
Each odd iteration of zoom level with mouse wheel - will not be remembered. Why odd? Because plotly will save previous zoomlvl after next zoom. In other words - mouse wheel zoomlvl will be reverted 1 step back after restyle or other refresh actions.
This make mouse wheel zooming not usable with updating by time interval (Plotly.restyle) plots. Side note - if your click any where in the plot after mouse wheel zoom - zoomlvl will be stored.
Any plot manipulation with touch pad.
Here same behavior - touch any where in the plot after manipulating - will store visual state. See video below.
Repro: https://codepen.io/k_sze/pen/WXgNoJ (from #2181). You can click buttons or call restyle() function in console.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
リンクされたCodePenの再現例から始め、Scatter3Dのインタラクションに続いてPlotly.restyleまたはcontrol-buttonの更新をテストします。マウスホイールとタッチパッドの変更に対する視覚状態の処理を追跡します。完了条件は、リフレッシュ操作後もズーム、向き、位置がそれぞれ最新の値を維持することです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- data-visualization, frontend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100