【发布时间】:2019-03-06 12:21:32
【问题描述】:
我注意到 interactive widgets 在我的 Jupyter Lab 笔记本中不起作用。
以下代码应生成交互式滑块,但不会:
from ipywidgets import interact, interactive, fixed, interact_manual
import ipywidgets as widgets
def f(x):
return x
interact(f, x=10);
这里有什么问题,我怎样才能让小部件工作?
【问题讨论】:
标签: python jupyter-notebook jupyter jupyter-lab