You are not logged in.

#1 2025-11-17 03:55:51

nema.arpit
Member
Registered: 2009-10-16
Posts: 11

Jupyter widgets broken for classic notebook

Jupyter widgets do not work in jupyter-nbclassic.

As a simple test, execute the following code in jupyter-nbclassic:

import ipywidgets as widgets 
tab_contents = ['P0', 'P1', 'P2', 'P3', 'P4'] 
children = [widgets.Text(description=name) for name in tab_contents] 
tab = widgets.Tab()
tab.children = children 
tab.titles = [str(i) for i in range(len(children))] 
display(tab)

The output simply shows text instead of showing the tab widgets.

I think the widgetsnbextension (jupyterlab-widgetsnbextension) package is needed and is not replaceable by jupyterlab-widgets.

Offline

Board footer

Powered by FluxBB