plotly / plotly/plotly.js

provide attribute to disable `image` trace auto-`scaleratio`

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

@antoinerg đang làm issue này rồi.

Từ ngày 24/9/2021.

feature 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ả

We need to be able to disable the automatic scaleratio behaviour from the image trace, either with an attribute on the image trace itself, or by being able to pass a well-defined, non-null value into scaleratio or scaleanchor.

The smallest change I can imagine would be to disable this behaviour if the scaleratio value in the actual input figure is 0 or something.

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.

Đánh giá

Issue này chưa được đánh giá.

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.