ipython - IOPub data rate exceeded when viewing image in Jupyter notebook -


i want view image in jupyter notebook. it's 9.9mb .png file.

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

i below error:

iopub data rate exceeded. notebook server temporarily stop sending output client in order avoid crashing it. 

a bit surprising , reported elsewhere.

is expected , there simple solution?

(error msg suggests changing limit in --notebookapp.iopub_data_rate_limit.)

i ran using networkx , bokeh

this works me in windows 7 (taken here):

  1. to create jupyter_notebook_config.py file, defaults commented out, can use following command line:

    $ jupyter notebook --generate-config

  2. open file , search c.notebookapp.iopub_data_rate_limit

  3. comment out line c.notebookapp.iopub_data_rate_limit = 1000000 , change higher default rate. l used c.notebookapp.iopub_data_rate_limit = 10000000

this unforgiving default config popping in lot of places. see git issues:

it looks might resolved 5.1 release


Comments

Popular posts from this blog

c# - Update a combobox from a presenter (MVP) -

How to understand 2 main() functions after using uftrace to profile the C++ program? -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -