Closed linuxrider closed 20 hours ago
hi @linuxrider, thanks for your report.
Please try latest version, v3.1.4
pip3 install nglview==3.1.4
(conda version will be released later via conda-forge)
Tried it and it seems to work now with nbclassic 1.1.0
.
Thanks.
I found that nglview does not work with
nbclassic 1.0
. It failed to loadColormakerRegistryModel
from modulenglview-js-widgets
when importing the library. Furthermore, withnglview.demo()
it could not loadNGLModel
. 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
micromamba create -n nglview jupyterlab=4.1.5 nbclassic=1.0 nglview=3.1.2
jupyterlab
nbclassic