jupyter-notebook - Jupyter 笔记本中的 IOPub 数据速率超出(查看图像时)

标签 jupyter-notebook ipython jupyter

我想在 Jupyter 笔记本中查看图像。这是一个 9.9MB 的 .png 文件。

from IPython.display import Image
Image(filename='path_to_image/image.png')

我收到以下错误:

IOPub data rate exceeded.
The notebook server will temporarily stop sending output
to the client in order to avoid crashing it.

有点令人惊讶,并且reported elsewhere .

这是预期的吗?有简单的解决方案吗?

(错误消息建议更改 --NotebookApp.iopub_data_rate_limit 中的限制。)

最佳答案

试试这个:

jupyter notebook --NotebookApp.iopub_data_rate_limit=1.0e10

或者这个:

yourTerminal:prompt> jupyter notebook --NotebookApp.iopub_data_rate_limit=1.0e10 

关于jupyter-notebook - Jupyter 笔记本中的 IOPub 数据速率超出(查看图像时),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43288550/

相关文章:

python - 无法在 jupyter 笔记本中导入 psycopg2,但可以在 python3 控制台中导入

python - 如何在调整图像大小并将其保存到另一个文件夹时保留图像的文件名?

python - 在 Jupyter 中写入目录权限

python - Jupyter笔记本: Output image in previous line

javascript - 在 jupyter 笔记本中使用匹配替换查找和替换实用程序

python - IPython 输入预过滤器

python - 如何在 numpy/ipython.parallel 中进行分布式矩阵乘法?

ipython-notebook - 使用命令行参数批量执行 iPython Notebook?

python - 将函数与笔记本目录中其他 python 文件中的变量一起使用

python - 更改 Jupyter Notebook 中数据框的单元格宽度