Embed Widgets: does not work with 3rd party widget (e.g: nglview)
See original GitHub issueHi,
I am trying 6.0.0.beta6 version for embedding widget. This works fine with ipydigets Widgets (Text, …) but did not work with our nglview:
- nothing shows up if hitting
Embed Widgets - console error:
Uncaught (in promise) TypeError: Converting circular structure to JSON
at JSON.stringify (<anonymous>)
at :8795/nbextensions/jupyter-js-widgets/extension.js?v=20170113130756:34960
widgetsnbextension.__version__
Out[4]:
'2.0.0.beta9'
cheers. Hai
Issue Analytics
- State:
- Created 7 years ago
- Comments:44 (26 by maintainers)
Top Results From Across the Web
NGLview-interactive molecular graphics for Jupyter notebooks.
Summary:NGLview is a Jupyter/IPython widget to interactively view molecular structures as well as trajectories from molecular dynamics simulations.
Read more >General — NGLView 2.7.7+0.gd41dfb9.dirty documentation
There is not yet an elegant way to sync version in nglview/widget.py; js/package.json and jslab/package.json So make sure to update those.
Read more >Use interactive widgets | PyCharm Documentation - JetBrains
PyCharm supports interactive widgets that provide integration between Python code ... To add an interactive widget to your notebook, first add a code...
Read more >NGLview - Interactive molecular graphics for Jupyter notebooks
NGLview is a Jupyter/IPython widget to interactively view molecular structures as well as trajectories from molecular dynamics simulations.
Read more >T017 · Advanced NGLview usage - volkamerlab.github.io
NGLView Q&A issues. A lot of hidden knowledge in these conversations! NGLView examples · Jupyter Widgets (IPyWidgets). Theory ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Then we should add it back before the final.
Hi @hainm, ipyvolume doesn’t use it’s own widget manager (I only have some custom code to generate the html, which will hopefully go upstream one day), that would be some js code. However, it’s odd that when I open your html file, I don’t see an attempt get fetch ‘nglview-js-widgets.js’, which ipywidgets 6 did. Is this something you changed @jasongrout? Since that is ideal for testing.