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