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

未關閉
#5,950 0 則留言 0 個 reaction 已指派 1 人 在 GitHub 檢視

@antoinerg 已經在處理了。

開始於 2021年9月24日。

評估

這個 Issue 還沒有評估資料。

描述

feature P3

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.

主要語言
JavaScript
星號
18.3k
分支
2k
平均合併
2 天 12 小時
30 天內合併 PR
28

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

plotly/plotly.js 的其他 Issue

查看 plotly/plotly.js 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。