Skip to content

ipywidgets not renderering without a kernel #3773

Open
@jgunstone

Description

@jgunstone

Description

image

Reproduce

import ipywidgets as w

w.VBox([
    w.Text(), 
    w.Textarea(), 
    w.IntText(), 
    w.IntSlider(), 
    w.IntRangeSlider()
])

then shutdown the kernel and reopen the notebook. you will see the image above

Expected behavior

expect to see the HTML widgets as preview (though I understand there is no control other jslink without the kernel)

image

Context

wsl - ubuntu2004
chrome

tried in both the envs listed below:

env1

ipywidgets 8.0.4 pyhd8ed1ab_0 conda-forge
JupyterLab v3.4.4
/home/jovyan/mambaforge/envs/ipyautoui-dev/share/jupyter/labextensions
bqplot v0.5.37 enabled OK (python, bqplot)
jupyter-vuetify v1.8.4 enabled OK
ipydatagrid v1.1.14 enabled OK
jupyterlab-plotly v5.9.0 enabled OK
jupyter-vue v1.8.0 enabled OK
jupyterlab-jupytext v1.3.8+dev enabled OK (python, jupytext)
@jupyter-widgets/jupyterlab-manager v5.0.5 enabled OK (python, jupyterlab_widgets)
@voila-dashboards/jupyterlab-preview v2.2.0 enabled OK (python, voila)
@telamonian/theme-darcula v4.0.0 enabled OK (python, theme-darcula)
@krassowski/jupyterlab-lsp v3.10.2 enabled OK (python, jupyterlab-lsp)

env2

ipywidgets 8.0.6 pypi_0 pypi
JupyterLab v4.0.0
/home/jovyan/mambaforge/envs/document-issue-dev/share/jupyter/labextensions
jupyterlab_pygments v0.2.2 enabled X (python, jupyterlab_pygments)
bqplot v0.5.40 enabled X (python, bqplot)
jupyter-vuetify v1.8.10 enabled X
ipydatagrid v1.1.15 enabled X
jupyter-vue v1.9.0 enabled OK
jupyterlab-jupytext v1.3.8+dev enabled X (python, jupytext)
@jupyter-widgets/jupyterlab-manager v5.0.7 enabled X (python, jupyterlab_widgets)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions