Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nglview 3.1 not working with nbclassic 1.0 #1106

Open
linuxrider opened this issue Apr 6, 2024 · 1 comment
Open

nglview 3.1 not working with nbclassic 1.0 #1106

linuxrider opened this issue Apr 6, 2024 · 1 comment
Assignees
Labels

Comments

@linuxrider
Copy link

linuxrider commented Apr 6, 2024

I found that nglview does not work with nbclassic 1.0.
It failed to load ColormakerRegistryModel from module nglview-js-widgets when importing the library. Furthermore, with nglview.demo() it could not load NGLModel.
With jupyterlab it works without problems, however.
I tested it with Firefox and Chromium with the same result for both. I think a similar issue was reported with vscode #1085.

Here the screenshots for the different environments
micromamba create -n nglview jupyterlab=4.1.5 nbclassic=1.0 nglview=3.0.8
nbclassic
nbclassic 1.0, nglview 3.0.8

micromamba create -n nglview jupyterlab=4.1.5 nbclassic=1.0 nglview=3.1.2
jupyterlab
jupyterlab 4.1.5, nglview 3.1.2
nbclassic
nbclassic 1.0, nglview 3.1.2

@hainm
Copy link
Collaborator

hainm commented Apr 8, 2024

hi @linuxrider, thanks for your report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants