简体   繁体   中英

Widgets don't work in the Jupyter notebook

ipywidgets are not working in my Jupyter notebook. Everything else is working fine.

import ipywidgets as wg
from IPython.display import display 

myName = wg.Text(value='Name')
myAge = wg.IntSlider(description='Age:')
display(myName,myAge)

Instead of having parsed text field and slider I am getting:

Text(value='Name')
IntSlider(value=0, description='Age:')

Can you help?

I found the root cause.

It simply does not work in IE ;)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM