how to switch from ipywidgets 4.x to 5.x?
See original GitHub issueHi,
Can you please update the instruction (or show me the link) how to switch from ipywidgets 4.x to 5.x We have this nglview work nicely with 4.x version but my widget is not displayed with 5.x version.
I don’t think jupyter nbextension enable --py widgetsnbextension
is enough to make the widget works at all. I kept getting errors from console log (Chrome)
The errors are so silent in Python side and this makes our debugging is super difficult, especially I myself is not good at JS at all.
PS: I already this [https://github.com/ipython/ipywidgets/wiki/ipywidgets-5.0-Release-Document]
thanks
Issue Analytics
- State:
- Created 7 years ago
- Comments:16 (6 by maintainers)
Top Results From Across the Web
migrate to ipywidgets 5.x · Issue #220 · nglviewer/nglview · GitHub
With current code, I can add more code to widget_ngl.js , restart notebook and able to see the change. For this new migration,...
Read more >Layout and Styling of Jupyter widgets - Read the Docs
You can change both by adjusting the description width and the widget width using the widget's style. [4]:. style = {'description_width' ...
Read more >Migrating custom widget libraries — Jupyter Widgets 8.0.2 ...
In this section, we discuss migrating a custom widget from ipywidgets 7 to ipywidgets 8 or supporting both ipywidgets 7 and ipywidgets 8...
Read more >Widget Events — Jupyter Widgets 7.7.2 documentation
The first method is to use the link and dlink functions from the traitlets module (these two functions are re-exported by the ipywidgets...
Read more >Using Interact — Jupyter Widgets 7.7.0 documentation
The interact function ( ipywidgets.interact ) automatically creates user interface (UI) controls for exploring code and data interactively. It is the easiest ...
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 FreeTop 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
Top GitHub Comments
To build an amd module, we use webpack in the other libraries.
As soon as you get it to work, we will be able to include it in the new showcase gallery here:
http://jupyter.org/widgets.html
I am closing this since we officially support ipywdgets >= 5. thanks.