plotly / plotly/plotly.py

Document all graph properties that can be edited when `editable` is set to `True` in the graph config

未关闭
#4,635 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 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: true is set for the individual shape and editable: false for the chart as a whole)
  • 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)

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 Plotly.js 的可编辑模式文档、Plotly.py 文档以及链接的社区帖子开始;将它们与此 issue 中的属性列表进行比较。使用完整的可编辑属性列表更新两套文档,包括注明的 shape 配置例外,并确认两个页面都清楚地描述了受支持的交互。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript, python
领域
documentation
Issue 类型
文档
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。