plotly / plotly/plotly.js

add a way to make the lasso selection of a plotly express scatter_matrix restrictive instead of additive

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

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

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

説明

When creating a scatter_matrix using plotly express:

import plotly.express as px
df = px.data.iris()
fig = px.scatter_matrix(df,
    dimensions=df.columns[0:4],
    color=df.columns[4])
fig.update_layout(
    autosize=False,
    width=1200,
    height=1200,
)
fig.show()

then highlighting a subset of the data using the lasso or rectangular selection tool also highlights the corresponding points in the other graphs.

However, when marking points in two plots I would often prefer that not the union of those are highlighted but the intersection. In the example image below this would mean that only a few red and green points are still visible/highlighted, but no blue points.

This is the feature I would like to have: A way to control whether the union or the intersection of all selections are highlighted.

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

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

はじめの一歩

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

調査の方向性

まず、plotly.js の scatter_matrix の例で、投げ縄選択と矩形選択がどのように伝播されるかを追跡します。和集合または積集合の動作を選択する方法を定義して実装し、複数のプロットでの選択によって要求された結合集合だけが正確にハイライトされることを確認します。

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

評価

技術スタック
javascript
領域
data-visualization
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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