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

Julia widgets not working #545

Closed
HTofi opened this issue Dec 24, 2022 · 3 comments
Closed

Julia widgets not working #545

HTofi opened this issue Dec 24, 2022 · 3 comments

Comments

@HTofi
Copy link

HTofi commented Dec 24, 2022

Description

The widgets provided by Julia's Interact package cannot be displayed in output cells.

Reproduce

This is an example of a @manipulate slider which doesn't work with my Jupyterlab desktop installation:

using Plots
using Interact

u(x, t) = 1/2 * (sin(x + t) - sin(t - x))

x = 1:0.01:5
@manipulate for tᵢ in 0:0.1:1
    y = [u(x[i], tᵢ) for i in 1:length(x)]
    plot(x, y)
end

In the output cell only a plot can be seen, but the slider doesn't show up. No error messages are thrown by the Julia kernel.

Context

  • Operating System and version: Manjaro Linux
  • JupyterLab-Desktop version: 3.5.0
  • Installer: AUR
  • WebIO extension installed with pip
@JasonWeill
Copy link

Have you tried using this same notebook with jupyterlab as installed by Conda or Mamba, or with Jupyter Notebook?

@HTofi
Copy link
Author

HTofi commented Jan 5, 2023

OK, I don't know what was the problem exactly, but it seems to be solved now after I updated Julia. Sorry for bothering you!

@JasonWeill
Copy link

No problem! Please reach out again if you see any other bugs with JupyterLab Desktop.

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

No branches or pull requests

2 participants