plotly / plotly/angular-plotly.js
Min size of plotly plot
未关闭
还没有人认领这个 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
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从报告中提到的主要 AP 示例和 plotly-plot 布局处理开始。使用 100x100 像素的尺寸复现该问题,然后尝试使用百分比宽度和高度。完成的标准是图表以小于 200x200 的尺寸渲染,并且百分比尺寸得到遵守。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- plotly, typescript
- 领域
- frontend
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100