Reputation: 13088
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!')
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
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
)
Upvotes: 1
Views: 9030
Reputation: 13088
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
Upvotes: 0