Unable to use both a built-in widget and a custom widget in JupyterLab #2053
Labels
resolved-locked
Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion.
Milestone
Background
I've been working on adding JupyterLab ipywidget support (In addition to the working notebook ipywidget support) to the this WIP plotly.py branch (plotly/plotly.py#942), and I'm running into a problem.
Problem (Bug?)
A custom-built local widget can't be displayed in the same jupyterlab notebook as a built-in widget provided by
@jupyter-widgets/jupyterlab-manager
Simplified Example
Steps to reproduce
jlwidget
IntSlider
in the first cell and aHelloWorld
widget in the second cell. Both display properly.@jupyter-widgets/jupyterlab-manager
needs to be installed to view any widgets in JupyterLab and to view theIntSlider
HelloWorld
widget displays fine but there is an error displaying theIntSlider
Here is the error in the chrome developer console
jlwidget
widget, and repeat the experiment. Now theIntSlider
displays fine, and theHelloWorld
widget does not (as I expected)Environment details
The text was updated successfully, but these errors were encountered: