Sunburst can only have visibility toggled for the whole chart in a button's update method
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ả
Using a button to toggle series of data for plots makes sense.
My use case for Sunburst (and Treemap and Icicle views on the same data) could do with having the ability to selective toggle visibility at the box/sector level. I have several categories, one of which swamps the others but is less important, so being able to toggle its children off would allow more screen real estate to be available for other sectors without having to resort to drawing two separate charts, one with the swamp and one without.
I had a button update method toggling visibility working, but only index 0 had any effect, and that surprised me by toggling the whole chart. I had expected that, for example, toggling index 42 would turn off that sector and its children. I presume from this that the whole chart is seen internally a single series?
Could the button update method be specialized for Sunburst et al. to allow toggling individual boxes and their children?
I'm using Plotly 6.3.0 with Python 3.13 on Linux.
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 bằng cách tái hiện hành vi trong Plotly 6.3.0 với Python 3.13 trên Linux, tập trung vào phương thức update của một nút cho Sunburst, sau đó so sánh cùng dữ liệu trong các chế độ xem Treemap và Icicle. Theo dõi cách index 0 và index 42 được diễn giải; công việc được xem là hoàn thành khi có thể ẩn một sector hoặc box được chọn cùng các phần tử con của chúng mà không ẩn toàn bộ biểu đồ.
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
- 35/100