Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New release to pick up recently-added widgets #36

Open
mwcraig opened this issue May 22, 2018 · 2 comments
Open

New release to pick up recently-added widgets #36

mwcraig opened this issue May 22, 2018 · 2 comments

Comments

@mwcraig
Copy link

mwcraig commented May 22, 2018

There are some new widgets (e.g. FloatLogSlider) that aren't included in the javascript bundled with the last release of ipywidgets_server. Looks like a new release (and maybe bumping the minimum npm version of @jupyter-widgets/controls) will do the trick.

This code snippet will demonstrate the problem; when you try connecting to port 8866 you just get a blank page, and errors in the console about not being able to find FloatLogSliderModel:

# Add a slider to allow adjusting MS distance brightness

from ipywidgets import FloatLogSlider
initial_dist = 10

dist_slider = FloatLogSlider(base=10, min=1, max=4, step=0.01,
                             description='Distance (pc)', value=3,
                             readout_format='d')

Pinging @JuanCab who found the issue.

@pbugnion
Copy link
Owner

Good spot! Thanks for the reproducible example.

The dependencies are hard-coded in the package.json.

@mwcraig
Copy link
Author

mwcraig commented May 29, 2018

The dependencies are hard-coded in the package.json.

Yeah; I think doing a new ipywidgets_server release would pick up the latest ipywidgets js.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants