I noticed that interactive widgets are not working in my Jupyter Lab notebooks.
The following code should produce an interactive slider but doesn't:
from ipywidgets import interact, interactive, fixed, interact_manual
import ipywidgets as widgets
def f(x):
return x
interact(f, x=10);
What is the problem here, and how can I get widgets to work?