# Slider does not show after upgrade Jupyter

**URL:** https://discourse.julialang.org/t/slider-does-not-show-after-upgrade-jupyter/112059
**Category:** Jupyter-Notebook
**Tags:** package, interact
**Created:** [March 25, 2024, 3:39am UTC](https://discourse.julialang.org/t/slider-does-not-show-after-upgrade-jupyter/112059 "2024-03-25T03:39:35Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![HJW019](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hjw019/32/22102_2.png) [@HJW019](https://discourse.julialang.org/u/HJW019)
#### Post date: [March 25, 2024, 3:39am UTC](https://discourse.julialang.org/t/slider-does-not-show-after-upgrade-jupyter/112059/1 "2024-03-25T03:39:35Z")

</div>

(I posted the query on the Jupyter forum, and was suggested that the issue might lie with `Interact.jl` . Therefore, I’m bringing the question here for further insights.)

I’ve been using Julia in Jupyter Notebook (NB) to make interactive plots with `Interact.jl`. It worked well until I upgraded Jupyter, and then the slider disappeared without any error messages.

**Before the upgrade:**

- NB version 6 (6.4.12) worked fine.
- Lab version 3 (3.4.4) had issues with the slider not updating graphs, but I didn’t mind since NB was okay.

**After the upgrade:**

- NB version 7 (7.1.2) and Lab version 4 (4.1.5) both failed to show the slider, with no errors.
- Downgrading to NB 6.4.12 fixed the issue for NB.
- The current version of nbclassic also works.

However, downgrading isn’t a long-term fix and the nbclassic is a transitional product. So I’m looking for solutions for both NB (preferably) or Lab.

Someone from the Jupyter forum [suggested that the issue may lie with the `Interact.jl`](https://discourse.jupyter.org/t/slider-does-not-show-after-upgrade-jupyter/24752/5).

The problem’s MWE:

```julia
using Interact, Plots

@manipulate for n in 1:5:100
  plot(rand(n))
end

```

I’m on Windows 10 and 11, using `ipywidgets` 8.1.2 and Julia 1.10.2. I installed the widgets with:

- `conda install -n base -c conda-forge widgetsnbextension`
- `conda install -n base -c conda-forge ipywidgets`
- `jupyter nbextension install --py widgetsnbextension`
- `jupyter nbextension enable --py widgetsnbextension`

I’d appreciate any alternative solutions or fixes.

---

<div class="post-metadata">

### Author: ![Joh11](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joh11/32/23140_2.png) [@Joh11](https://discourse.julialang.org/u/Joh11)
#### Post date: [June 28, 2024, 1:46pm UTC](https://discourse.julialang.org/t/slider-does-not-show-after-upgrade-jupyter/112059/2 "2024-06-28T13:46:04Z")

</div>

Hi,

I am bumping this thread (not sure if it’s allowed).

I am also trying to make Interact work in Jupyter Lab. Given [this issue](https://github.com/JuliaGizmos/WebIO.jl/issues/514) is still on, I assume it is still broken ?

Is there any chance it will be fixed at some point ?  
Also, is there a way to make it work meanwhile ? Perhaps by downgrading ?

Thanks,

---

<div class="post-metadata">

### Author: ![HJW019](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hjw019/32/22102_2.png) [@HJW019](https://discourse.julialang.org/u/HJW019)
#### Post date: [June 28, 2024, 2:40pm UTC](https://discourse.julialang.org/t/slider-does-not-show-after-upgrade-jupyter/112059/3 "2024-06-28T14:40:53Z")

</div>

I can confirm that downgrading the notebook provides a temporary solution:

```julia
pip install notebook==6.4.12

```

However, as mentioned in my original post, this is not a long-term fix. It’s disheartening because Julia is such a great tool for teaching, with its intuitive syntax and other benefits. Interactive plots significantly enhance its teaching value, and losing this feature would be a major drawback for Julia in the classroom.

---

<div class="post-metadata">

### Author: ![dlakelan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dlakelan/32/8491_2.png) [@dlakelan](https://discourse.julialang.org/u/dlakelan)
#### Post date: [August 16, 2024, 7:01am UTC](https://discourse.julialang.org/t/slider-does-not-show-after-upgrade-jupyter/112059/4 "2024-08-16T07:01:06Z")

</div>

I’m hitting this problem with a collaborator. I have an older jupyter/jupyterlab installed by Conda.jl some time ago, but when he does install he gets new shiny and broken jupyterlab.

Is there a way to ask Conda.jl to downgrade jupyterlab to 3.x.x so this works?
