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

Wrong widget initial state #976

Closed
davidbrochart opened this issue Sep 23, 2021 · 1 comment · Fixed by #982
Closed

Wrong widget initial state #976

davidbrochart opened this issue Sep 23, 2021 · 1 comment · Fixed by #982
Labels
bug Something isn't working

Comments

@davidbrochart
Copy link
Member

Description

Running the notebooks/basics.ipynb notebook, I see:
image

Reproduce

  1. mamba install voila ipykernel ipywidgets pandas
  2. voila notebooks/basics.ipynb

Expected behavior

When moving the slider, the value of x2 updates, but initially we should see x2 = 16 for x = 4.

Context

  • voila version 0.2.14
  • Operating System and version: Ubuntu 21.04
  • Browser and version: any browser
@davidbrochart davidbrochart added the bug Something isn't working label Sep 23, 2021
@jtpio
Copy link
Member

jtpio commented Sep 23, 2021

Thanks @davidbrochart for reporting 👍

Probably something to do with the code of the example notebook.

Running the first cell in JupyterLab gives the same:

image

So we might want to update the notebook to avoid that kind of confusion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants