plotly / plotly/plotly.py

subplot layouts break with go.Scatter and go.Scattergl

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

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

bug P3
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ả

When I plot many subplots, the axes occasionally break. I am using fixed subplot sizes. Occasionally line plots will not plot on their respective subplot axes. You can see the interactive hover actions do work on the axes, but the lines themselves are drawn shifted much higher or lower than the axis. All the go.Heatmap objects seem to graph just fine.

Sometimes I can fix the layout bug by choosing a different axis height, but most values don't fix it so it's a long game of guess-and-check.

audio_diff.html.zip

Screenshot 2023-10-05 at 1 42 38 PM
Screenshot 2023-10-05 at 1 42 46 PM

Google chrome seems to report some errors

Specifying overflow: visible on img, video and canvas tags may cause them to produce visual content outside of the element bounds. See https://github.com/WICG/shared-element-transitions/blob/main/debugging_overflow_on_images.md .
1 source

audio_diff.html:12

One or more documents in this page is in Quirks Mode, which will render the affected document(s) with quirks incompatible with the current HTML and CSS specifications.
Quirks Mode exists mostly due to historical reasons. If this is not intentional, you can add or modify the DOCTYPE to be <!DOCTYPE html> to render the page in No Quirks Mode.

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 bằng cách mở tệp audio_diff.html.zip đính kèm trong Chrome và tái hiện bố cục subplot có kích thước cố định với go.Scatter và go.Scattergl cùng với go.Heatmap. So sánh các trace đường bị dịch chuyển với các trục tương ứng và các cảnh báo của trình duyệt; hoàn thành khi các biểu đồ đường vẫn được căn chỉnh với các trục subplot tương ứng ở mọi chiều cao đã kiểm thử.

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
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/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.