labelalias should have the option to not affect hover labels or unified hover title
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 35/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- python
研究方向
首先在儲存庫中定位對 xaxis.labelalias、yaxis.labelalias、懸停標籤和 unifiedhovertitle 的處理。確定該選項如何將別名限制為座標軸刻度標籤,然後驗證除非被明確覆寫,否則懸停標籤和統一懸停標題會保留原始值;為兩種軸類型和動態資料對映新增或更新測試。
由索引模型根據 Issue 內容生成。
描述
Currently, xaxis.labelalias/yaxis.labelalias changes both the axis tick labels and the hover labels / unified hover title. In some use cases, users want to display friendly axis labels but keep the hover title showing the raw data value.
Using tickvals/ticktext is a workaround but requires manually updating tick mappings if the axis data changes dynamically.
The new unifiedhovertitle.text allows formatting of the hover title, but it does not support mapping from x/y values to aliases.
Proposed solution:
Add an option for labelalias to only affect axis ticks. Hover labels and unified hover title should still display the underlying raw value unless explicitly overridden.
- 主要語言
- Python
- 星號
- 18.8k
- 分支
- 2.8k
- 平均合併
- 16 小時 26 分鐘
- 30 天內合併 PR
- 21
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
plotly/plotly.py 的其他 Issue
-
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
-
難度 3/5 1-2 天 新手友好度 35/100
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 74/100
bancolombia/sentinel#23 ·
-
test md 未關閉CI
難度 2/5 1-3 小時 新手友好度 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
難度 2/5 1-3 小時 新手友好度 74/100
langchain-ai/deepagents#6450 ·
-
bug client
難度 2/5 1-3 小時 新手友好度 88/100
-
難度 2/5 1-3 小時 新手友好度 74/100