enable updating the config of a plot without changing other parameters
オープン
まだ誰も着手していません。
feature
P3
- 主要言語
- JavaScript
- スター
- 18.3k
- フォーク
- 2k
- 平均マージ
- 2日 12時間
- マージ済み PR(30日)
- 28
説明
We can change the layout of an existing plot with Plotly.relayout, change the data with Plotly.react, but how to change the config of a plot without changing the other parameters?
Example:
// happens when clicking on a button
var config = element.config; // problem: this doesn't exist! <-- how to get the current config state of the plot?
config["staticPlot"] = true; // let's add a configuration parameter
Plotly.react(element.id, element.data, element.layout, config)
How to get element.config in the same way element.layout and element.data exist?
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、issue で参照されているエントリーポイント Plotly.relayout と Plotly.react を読み、既存の plot がデータ、layout、configuration の状態をどのように公開しているかを追跡します。plot の現在の config を、他のパラメーターを変更せずに取得および更新でき、その動作が関連するテストでカバーされれば作業は完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- data-visualization, frontend
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100