plotly / plotly/angular-plotly.js

Min size of plotly plot

未關閉
#201 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
TypeScript
星號
242
分支
81
平均合併
8 小時 48 分鐘
30 天內合併 PR
18

描述

Hi there,
there seems to be no possibility to make plotly-plots smaller than 200x200.
If I set width and height to e.g. 100, the plot collapses to one point.
I think there's no need to post MWE since this issue can be reproduced by just setting height and width in the layout of the main AP example.
On the other hand, if I set width and height to percentages instead of pixels, they are ignored

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

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

研究方向

從報告中提到的主要 AP 範例和 plotly-plot 版面配置處理開始。使用 100x100 像素的尺寸重現此問題,然後嘗試使用百分比寬度和高度。完成的標準是圖表以小於 200x200 的尺寸呈現,且百分比尺寸得到遵守。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
plotly, typescript
領域
frontend
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

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

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