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 摘要。