Sunburst can only have visibility toggled for the whole chart in a button's update method
還沒有人認領這個 Issue。
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 35/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- python
研究方向
首先,在 Linux 上使用 Python 3.13 重現 Plotly 6.3.0 中的行為,重點關注 Sunburst 的按鈕 update 方法,然後在 Treemap 和 Icicle 檢視中比較相同的資料。追蹤 index 0 和 index 42 的解讀方式;當選取的區段或方框及其子項可以隱藏,而不隱藏整個圖表時,即表示完成。
由索引模型根據 Issue 內容生成。
描述
Using a button to toggle series of data for plots makes sense.
My use case for Sunburst (and Treemap and Icicle views on the same data) could do with having the ability to selective toggle visibility at the box/sector level. I have several categories, one of which swamps the others but is less important, so being able to toggle its children off would allow more screen real estate to be available for other sectors without having to resort to drawing two separate charts, one with the swamp and one without.
I had a button update method toggling visibility working, but only index 0 had any effect, and that surprised me by toggling the whole chart. I had expected that, for example, toggling index 42 would turn off that sector and its children. I presume from this that the whole chart is seen internally a single series?
Could the button update method be specialized for Sunburst et al. to allow toggling individual boxes and their children?
I'm using Plotly 6.3.0 with Python 3.13 on Linux.
- 主要語言
- 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
-
P3 size: 1 task
難度 2/5 1-3 小時 新手友好度 72/100
-
bug P1
難度 1/5 1 小時以內 新手友好度 68/100
-
feature P3
難度 2/5 1-3 小時 新手友好度 62/100
-
feature P3
難度 2/5 1-3 小時 新手友好度 72/100
相似的 Issue
-
agent-ready documentation needs-triage
難度 1/5 1-3 小時 新手友好度 88/100
-
documentation
難度 1/5 1 小時以內 新手友好度 91/100
-
workflow-status page template still says reusable workflows are "triggered only by workflow_call:" 未關閉
難度 1/5 1 小時以內 新手友好度 92/100
-
instance instance add
難度 1/5 1 小時以內 新手友好度 72/100
searxng/searx-instances#939 · 1 則留言 ·
-
area-deployment area-integrations triage:bot-seen
難度 2/5 半天 新手友好度 86/100