You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from ipywidgets import interact
@interact
def calculate(x=2):
print(x**2)
The output is an interactive object string , instead of the actual widget:
[Out] interactive(children=(IntSlider(value=2, description='x', max=6, min=-2), Output()), _dom_classes=('widget-intβ¦
Am I missing something, or if someone know how to get it working?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
ipywidgets are not working in .ipynb
The output is an interactive object string , instead of the actual widget:
[Out] interactive(children=(IntSlider(value=2, description='x', max=6, min=-2), Output()), _dom_classes=('widget-intβ¦
Am I missing something, or if someone know how to get it working?
Beta Was this translation helpful? Give feedback.
All reactions