如何以高质量从情节中导出图作为静态图像?
对于可视化部分,我将ggplotly和下一个编织我的标记文件编织到HTML中。 接下来,当我想从Plotly输出下载静态图像时,PNG文件的质量非常低。因此,我想知道是否有一种方法可以提高Plotly中可下载的静态图像的质量?
For the visualization part, I use ggplotly and next knit my markdown file into HTML.
Next, when I want to download a static image from plotly output, the quality of the PNG file is very low. So, I wonder if there is a way to increase the quality of downloadable static images in plotly?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
创建绘图对象时,可以修改模式栏。 (您还可以稍后再添加更改。)您可以看到有关 modebar的更多选项。 >。
例如:
You can modify the mode bar when you create a Plotly object. (You can add the change later, as well.) You can see more options regarding the modebar here.
For example: