plotly / plotly/plotly.js

Scattergl plot rendering issues in Firefox – Missing traces on updates

Đang mở
#7,264 8 bình luận 4 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
JavaScript
Star
18.3k
Fork
2k
Merge trung bình
2 ngày 12 giờ
Pull request đã merge (30 ngày)
28

Mô tả

When updating scattergl plots in Firefox, some traces do not render as expected. This issue does not appear in other browsers, such as Chrome or Edge, where the scattergl traces are rendered as expected. When using scattergl, certain traces may not be displayed properly, resulting in missing visualizations on the graph despite their presence in the data. This issue is particularly noticeable with scattergl plots utilizing WebGL rendering.

The problem is absent when using scatter traces, which rely on SVG rendering, suggesting a potential WebGL compatibility or rendering issue specific to Firefox. The observed behavior occurs consistently across different datasets and setups, suggesting a deeper compatibility problem between WebGL rendering in Firefox and the Plotly scattergl implementation. Furthermore, there are no error messages in the browser console during the issue.

Here is a really simple reproducing example:
https://codepen.io/Puneet-Sharma112/pen/NWQOyVv

I also see a related issue which was created long back but was closed as non-reproducible.

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 bản tái hiện CodePen được liên kết trong Firefox và so sánh các cập nhật của scattergl với trường hợp scatter/SVG đang hoạt động và Chrome hoặc Edge. Truy vết đường dẫn kết xuất WebGL của JavaScript scattergl có liên quan đến bản tái hiện. Hoàn thành khi tất cả traces vẫn hiển thị sau các lần cập nhật trong Firefox, trong khi hành vi scatter hiện có và các trình duyệt khác không bị ảnh hưởng.

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
Lĩnh vực
computer-graphics, data-visualization, frontend
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
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
48/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.