[FEATURE]: Add dynamic sorting of the tooltip legend ordering for hovermode='x unified' mode
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ả
Instructions (remove this section before submitting an issue)
Thanks for your interest in plotly.py!
- Before submitting a new feature request, please search for existing and closed requests. If your request is novel, fill out the sections below and submit a new request.
- Comments should add content to the discussions. Approbation comments such as +1 or I would like this feature to be implemented as well will be deleted by the maintainers. Please use GitHub reactions instead.
Description
Add a clear description of the feature that you're requesting.
Please add dynamic sorting of the tooltip legend ordering for hovermode='x unified' mode, so that when the user move the mouse over the chart, the legend showing up in the tooltip block reflects the ascending order of the legend value for that specific x value.
Why should this feature be added?
Provide an argument for why this feature should be added. We can't add everything, so this will help us determine what gets worked on. Please also consider creating a PR and adding the feature yourself. Help is always appreciated.
This will drastically improve the intuitiveness of the tooltip block information, making direct comparison between different trace at a certain x value much more easier.
Mocks/Designs
Please add any mocks or designs you might have for the feature.
Notes
Add info here that doesn't fit in the other sections.
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
Không có tệp, bài kiểm thử hoặc điểm vào nào được nêu. Hãy bắt đầu bằng cách xác định phần triển khai của hovermode='x unified' và thứ tự chú giải của tooltip, sau đó xác định cách sắp xếp động các giá trị tại mỗi vị trí x. Hoàn thành khi tooltip phản ánh thứ tự tăng dần của các giá trị chú giải cho giá trị x đang được di chuột qua mà không thay đổi các chế độ hover khác.
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
- Sôi nổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 42/100