Closed hainm closed 5 months ago
Another way to reproduce is
pip install nglview==3.1.0 # ipywidgets 8, notebook 7
And in notebook
# 1st cell
import nglview as nv
view = nv.demo()
view
# 2nd cell
nv.write_html("index.html", view)
!open index.html
Syncing error: no comm channel defined'
Seems like an issue with the NGL release instead: https://github.com/nglviewer/ngl/issues/1014
Hi there,
I am trying to embed nglview-js-widgets 3.1.0 in my application but getting below error: https://www.npmjs.com/package/nglview-js-widgets
You could try to download index.html.txt (-> index.html) and open it to see the error message index.html.txt
If I change the
nglview-js-widgets
version from 3.1.0 to 3.0.8 in the index.html, thing just work.3.1.0
version works fine in the notebook and lab.Do you have idea how to resolve this? Thanks.