add a way to make the lasso selection of a plotly express scatter_matrix restrictive instead of additive
Personne n'a encore pris cette issue.
- Langage dominant
- JavaScript
- Étoiles
- 18.3k
- Forks
- 2k
- Merge moyen
- 2 j 12 h
- PR mergées (30 j)
- 28
Description
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.
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Commencez par suivre la propagation des sélections au lasso et rectangulaires dans l’exemple scatter_matrix de plotly.js. Définissez et implémentez un moyen de choisir un comportement d’union ou d’intersection, puis vérifiez que les sélections dans plusieurs graphiques mettent exactement en évidence l’ensemble combiné demandé.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript
- Domaine
- data-visualization
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100