0

Instead of rendering the actual widgets, it's just rendering text labels. See screenshot below.

import ipywidgets as widgets
from IPython.display import display

label = widgets.Label(value='Hello!')

display(label)
>>> Label(value='Hello!')

enter image description here

Edit

The above works for me on my local computer, but not on a server. Both are running Python 3.6, jupyter-core==4.6.3

Edit 2

In response to the question by @adhg, here's the output of widgets.InsSlider() (in his question, (s)he had a typo Ins instead of Int)

enter image description here

rodrigo-silveira
  • 12,607
  • 11
  • 69
  • 123

1 Answers1

0

As mentioned on a related post:

With the new version of ipywidgets, I ran into this problem, but then I found on their github readme that you now need to follow

pip install ipywidgets

with

jupyter nbextension enable --py widgetsnbextension
rodrigo-silveira
  • 12,607
  • 11
  • 69
  • 123