plotly / plotly/plotly.py

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

Đang mở
#4,635 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

documentation feature P2
Ngôn ngữ chính
Python
Star
18.8k
Fork
2.8k
Merge trung bình
16 giờ 26 phút
Pull request đã merge (30 ngày)
21

Mô tả

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)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu với tài liệu về chế độ editable của Plotly.js, tài liệu Plotly.py và bài đăng cộng đồng được liên kết; đối chiếu chúng với danh sách thuộc tính trong issue này. Cập nhật cả hai bộ tài liệu với danh sách đầy đủ các thuộc tính có thể chỉnh sửa, bao gồm cả ngoại lệ về cấu hình shape đã nêu, và xác minh rằng cả hai trang đều mô tả rõ các tương tác được hỗ trợ.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
javascript, python
Lĩnh vực
documentation
Loại issue
Tài liệu
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.