Plot exported as PNG: low resolution
未关闭
还没有人认领这个 Issue。
bug
P2
- 主要语言
- JavaScript
- 星标
- 18.3k
- 派生
- 2k
- 平均合并
- 2 天 12 小时
- 30 天内合并 PR
- 28
描述
- Create a HTML file for a 3D surface plot using
write_html() - Open the HTML file in Google Chrome
135.0.7049.85on macOS15.4 - Click on Download plot as png
- The plot has a resolution of 1496 × 841 pixels only (private info redacted):
In comparison, when I take a screenshot of the same area, it's 3024×1696 pixels (a bit more than its double).
This issue might belong to https://github.com/plotly/plotly.py.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
在 macOS 上的 Chrome 中,使用 write_html() 生成的 3D 曲面图重现该问题,然后跟踪导出的 HTML 中的 PNG 下载路径。将下载图像的尺寸与浏览器截图进行比较,并确定导出是否考虑了显示像素比;当 PNG 具有预期的高分辨率尺寸时即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- data-visualization, frontend
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100