Run generate-directory jupyterlab_widgets
Enter this into a jupyterlab cell:
import jupyterlab_widgets
from ipywidgets import interact, interactive, fixed, interact_manual
import ipywidgets as widgets
def f(x):
return x
interact(f, x=10)
Expected behavior
The cell output should be an interactive slider
Environment
Debian latest with home manager
Version of the code: (git hash in shell.nix)
Additional context
doug@doug-laptop:~/src/ml-playground$ jupyter-labextension list
JupyterLab v3.1.6
Other labextensions (built into JupyterLab)
app dir: /nix/store/wijndwf354w2i7fx7j30w7pgl3vqh4f0-jupyterlab
jupyterlab_widgets v0.3.1 enabled OK
Describe the bug Following the docs, I've generated a shell.nix and used
generate-directory
but the widgets won't loadTo Reproduce
shell.nix
Run
generate-directory jupyterlab_widgets
Enter this into a jupyterlab cell:Expected behavior The cell output should be an interactive slider
Environment
Additional context