add vertical alignment for cells in Plotly Table (plotly.graph_objects.Table)
Chưa có ai nhận issue này.
- 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ả
Hi,
I am working on a table with custom styling, and it seems that vertical alignment of cells is not possible using the plotly.graph_objects.Table, only horizontal alignment.
I posted a question on the Plotly Community site to see if anyone knew of a way to do vertical alignment, but they confirmed it isn't possible with the code as is (link to post).
Any thoughts about how to update the current code to enable vertical alignment? I am not too familiar with the Plotly code base and plan on cloning a copy to experiment with adding this feature.
It seems like at least a few others have wanted this feature as well:
- https://stackoverflow.com/questions/67037418/plotly-table-vertical-align-text-in-cells
- https://stackoverflow.com/questions/66698852/plotly-table-how-to-align-header-vertical-and-horizontal
Documentation references:
- https://plotly.com/python/table/
- https://plotly.github.io/plotly.py-docs/generated/plotly.graph_objects.Table.html
Thank you,
Chad
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với plotly.graph_objects.Table và Plotly table documentation được liên kết để hiểu hành vi căn chỉnh ngang hiện có và tùy chọn căn chỉnh dọc được yêu cầu. issue không nêu source files hoặc tests, vì vậy trước tiên hãy xác định Table implementation và phạm vi coverage của nó. Được xem là hoàn tất khi table cells hỗ trợ căn chỉnh dọc và documented behavior đã được xác minh.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- data-visualization
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- 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
- 30/100