add a way to make the lasso selection of a plotly express scatter_matrix restrictive instead of additive
Nessuno ha ancora preso questa issue.
- Lingua principale
- JavaScript
- Stelle
- 18.3k
- Fork
- 2k
- Merge medio
- 2g 12h
- PR unite (30g)
- 28
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia tracciando il modo in cui le selezioni con il laccio e rettangolari vengono propagate nell’esempio scatter_matrix in plotly.js. Definisci e implementa un modo per scegliere il comportamento di unione o intersezione, quindi verifica che le selezioni in più grafici evidenzino esattamente l’insieme combinato richiesto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript
- Ambito
- data-visualization
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100