Document all graph properties that can be edited when `editable` is set to `True` in the graph config
未關閉
還沒有人認領這個 Issue。
documentation
feature
P2
- 主要語言
- Python
- 星號
- 18.8k
- 分支
- 2.8k
- 平均合併
- 16 小時 26 分鐘
- 30 天內合併 PR
- 21
描述
It would be great if the docs (both Plotly.js and Plotly.py) contained a list of all the graph properties which can be edited when editable is set to True in the graph config.
The JS docs mention editable mode but don't contain a list of properties.
I can't find a mention of editable mode at all in the Plotly.py docs.
This community post provides a partial list
Here is the list I've compiled, based on the above linked commuminty post and with help from @archmoj :
- Chart title (click to edit)
- Axis titles (click to edit)
- Axis ranges (min and max) (click endpoints to edit)
- Shape position (drag edges to resize, drag center to move)
- Shape polygon vertices (drag to move)
- (note: only editable when
editable: trueis set for the individual shape andeditable: falsefor the chart as a whole)
- (note: only editable when
- Shape addition and removal (use modebar buttons)
- Annotation text (click to edit)
- Annotation position (drag text or arrowhead to move)
- Legend trace names (click to edit)
- Legend position (drag to move)
- Colorbar title (click to edit)
- Colorbar position (drag to move)
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 Plotly.js 的可編輯模式文件、Plotly.py 文件以及連結的社群貼文開始;將它們與此 issue 中的屬性清單進行比較。使用完整的可編輯屬性清單更新兩套文件,包括註明的 shape 設定例外,並確認兩個頁面都清楚地描述了支援的互動。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript, python
- 領域
- documentation
- Issue 類型
- 文件
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100