Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[CHORE]: Remove `Plotly.Snapshot.toImage`

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

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript
Lĩnh vực
data-visualization

Hướng nghiên cứu

Start with src/snapshot/toimage.js and the references at src/snapshot/index.js:11, devtools/test_dashboard/devtools.js:86, and src/snapshot/svgtoimg.js. Trace how the public API is exposed through src/core.js and confirm there are no remaining callers under src/. Done means the implementation and existing references are removed consistently, with the breaking-change and deprecation decision resolved for the next major release.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

chore P3 plotly-internal size: 3 task
Description

Remove Plotly.Snapshot.toImage and its implementation in src/snapshot/toimage.js.

Why should this change be made?
  • Plotly.toImage replaced it in 2016 (642ddbaee5)
  • The old function has no caller under src/ and no test coverage
Scope
  • Delete src/snapshot/toimage.js
  • Update/remove the existing references (src/snapshot/index.js:11, devtools/test_dashboard/devtools.js:86, src/snapshot/svgtoimg.js)
Notes
  • This is a breaking change, so save it for the next major release
  • This removes a public API through exports.Snapshot in src/core.js
  • We could add a deprecation notice first
Ngôn ngữ chính
JavaScript
Star
18.3k
Fork
2k
Merge trung bình
2 ngày 10 giờ
Pull request đã merge (30 ngày)
30

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.

Issue khác của plotly/plotly.js

Tất cả issue của plotly/plotly.js

Issue tương tự

Thêm issue về JavaScript

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.