plotly / plotly/plotly.py

add button for switching between two figures

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

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

feature P3
主要言語
Python
スター
18.8k
フォーク
2.8k
平均マージ
16時間 26分
マージ済み PR(30日)
21

説明

Hi

In many situations researchers need to switch from a figure with various traces and even maybe various layout to another figure. It should be really helpful if we could assign fig object to the buttons instead of modifying data using args.

I mean that imagine I have fig1 and fig2. So, by clicking on a button the I could witch from fig1 to fig2 on same plot window but displayed alternatively. That would be great if instead of entering or modifying traces and arguments in args we could only assign fig1 or fig2.

With all the best,
Bijan

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

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

はじめの一歩

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

調査の方向性

まず、このリクエストに関係する figure および button API を確認し、特に現在 fig1、fig2、traces、args がどのように表現されているかを確認します。同じ plot ウィンドウ内で完全な figure を切り替える処理をどこに置くべきかを判断します。traces や args を手動で変更せずに button で fig1 と fig2 を切り替えられれば完了です。

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

評価

技術スタック
python
領域
data-visualization
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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