ipython-contrib / jupyter_contrib_nbextensions

A collection of various notebook extensions for Jupyter
http://jupyter-contrib-nbextensions.readthedocs.io/en/latest
Other
5.22k stars 806 forks source link

"Limit Output" extension makes "ipywidgets Output widget" stop working #1493

Open MyProjectsPage opened 4 years ago

MyProjectsPage commented 4 years ago

The code below is copied directly from ipywidgets documentation. When I tried it, I got no output. After a lot of trial and error I've discovered that the cause is definitely the "Limit Output" extension. When I disabled it the code worked and it prints hello world as expected.

import ipywidgets as widgets
out = widgets.Output()

with out:
    for i in range(10):
        print(i, 'Hello world!')
out

The images below show the results before/after disabling "limit output" extension.

image

image