New legend_groupclick option to mix toggle item and group
維護者通常 1 天內回覆
@alexshoe 已經在處理了。
開始於 2025年11月26日。
評估
這個 Issue 還沒有評估資料。
描述
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…
- 主要語言
- Python
- 星號
- 18.8k
- 分支
- 2.8k
- 平均合併
- 13 小時 28 分鐘
- 30 天內合併 PR
- 20
環境準備
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
plotly/plotly.py 的其他 Issue
-
P3 size: 1 task
難度 2/5 1-3 小時 新手友好度 65/100
plotly/plotly.py#5769 · 1 個 reaction ·
維護者通常 1 天內回覆
-
P3 size: 1 task
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 1 天內回覆
-
bug P1
難度 1/5 1 小時以內 新手友好度 68/100
維護者通常 1 天內回覆
-
feature P3
難度 2/5 1-3 小時 新手友好度 62/100
維護者通常 1 天內回覆
-
feature P3
難度 2/5 1-3 小時 新手友好度 72/100
plotly/plotly.py#3859 · 1 則留言 ·
維護者通常 1 天內回覆
相似的 Issue
-
bug status/needs-triage
難度 2/5 1-3 小時 新手友好度 86/100
prowler-cloud/prowler#12887 · 1 則留言 ·
維護者通常 1 天內回覆
-
area: desktop platform: macos priority: p3 status: ready type: enhancement
難度 1/5 1 小時以內 新手友好度 92/100
use-agent-os/agent-os#3484 ·
維護者通常 2 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 86/100
open-telemetry/opentelemetry-python-contrib#5113 · 2 則留言 · 2 個 reaction ·
維護者通常 1 天內回覆
-
external
難度 2/5 1-3 小時 新手友好度 68/100
langchain-ai/docs#6255 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 1 天內回覆