New legend_groupclick option to mix toggle item and group
@alexshoe ci sta già lavorando.
Dal 26/11/2025.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
For as long as I remember, placing plot legends into legendgroup caused clicking on any single legend in a group (or its title) to hide/show as a group.
Then with 5.3 it became possible to toggle a single item even when in a legendgroup - as explained and illustrated in https://plotly.com/python/legend/#group-click-toggle-behavior
fig.update_layout(legend=dict(groupclick="toggleitem"))
Now, I would love it if Plotly could offer the following "mixed" behaviour:
- when clicking on a sub-item → toggle that item
- when clicking on the group title → toggle the whole group
That would bring the best of both worlds, in my view…
- Lingua principale
- Python
- Stelle
- 18.8k
- Fork
- 2.8k
- Merge medio
- 16h 26m
- PR unite (30g)
- 21
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.
Altre issue di plotly/plotly.py
-
P3 size: 1 task
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
bug P1
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
-
feature P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
feature P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
Tutte le issue di plotly/plotly.py
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
-
🐛 Bug 🔔 Pending processing
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
jumpserver/jumpserver#17584 ·