Update Method Example Broken
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 18.8k
- フォーク
- 2.8k
- 平均マージ
- 16時間 26分
- マージ済み PR(30日)
- 21
説明
The updatemenu method update is broken. It only updates the layout attributes. If you use the same code but change the method to restyle, it updates the data attributes as expected, but obviously this won't work if you want to update both data and layout attributes.
Recreate
This is present for both the custom button and custom dropdown examples on the plotly examples page. You can see the problem by interacting with the examples.
Versions
I have this behavior on plotly 5.5. My friend has this problem in version 4.14. The behavior is the same in my versions of Chrome, Firefox, Edge, and VS Code's Jupyter interface.
Edit: I updated the title after getting some more info.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Plotlyのドロップダウンのドキュメントにあるカスタムボタンとカスタムドロップダウンの例から始め、updateメソッドを使ってその動作を再現します。restyleと比較し、完成した修正によって例のデータ属性とレイアウト属性の両方が更新されることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- data-visualization
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100