首页 > 解决方案 > 如何将 20 多个图形从 jupyter notebook 绘制到 html?

问题描述

我正在寻找一种将结果从 jupyter notebook 输出到 html 的解决方案。我从 jupyter notebook 下载数据结果并jupyter nbconvert --to html mynotebook.ipynb在 cli 中运行命令。

html 版本显示“已打开 20 多个图形。通过 pyplot 接口 ( matplotlib.pyplot.figure) 创建的图形会一直保留到显式关闭,并且可能会消耗太多内存。(要控制此警告,请参阅 rcParam figure.max_open_warning)。

我想显示所有超过 20 的数字。我该怎么做?谁能帮我?

标签: pythonhtmljupyter-notebook

解决方案


推荐阅读