question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

how to switch from ipywidgets 4.x to 5.x?

See original GitHub issue

Hi,

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)

screen shot 2016-05-30 at 11 46 29 pm

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:closed
  • Created 7 years ago
  • Comments:16 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
SylvainCorlaycommented, Jun 3, 2016

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

0reactions
hainmcommented, Aug 23, 2016

I am closing this since we officially support ipywdgets >= 5. thanks.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found