# IJulia, WGLMakie, and JupyterLab: No output

**URL:** <https://discourse.julialang.org/t/ijulia-wglmakie-and-jupyterlab-no-output/70467>\
**Category:** Jupyter-Notebook\
**Tags:** ijulia, wglmakie\
**Created:** [October 27, 2021, 10:18am UTC](https://discourse.julialang.org/t/ijulia-wglmakie-and-jupyterlab-no-output/70467 "2021-10-27T10:18:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ludovic\_Dumoulin](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ludovic_dumoulin/32/22414_2.png) [@Ludovic\_Dumoulin](https://discourse.julialang.org/u/Ludovic_Dumoulin)\
**Post date:** [October 27, 2021, 10:18am UTC](https://discourse.julialang.org/t/ijulia-wglmakie-and-jupyterlab-no-output/70467/1 "2021-10-27T10:18:51Z")

</div>

Hello,

I am using IJulia and WGLMakie, and I’d like to make interactive plot. Unfortunately when I run this code in a cell, there is no output…

```julia
Nz = 100
Nt = 10
ρ_t = rand(Nz, Nt)

using Makie: Slider
using WGLMakie
WGLMakie.activate!()

n = Node(1)
ρl = lift(n) do n
    ρ_t[:,n]
end

fig = Figure(resolution = (1400, 800)) # 
ax = Axis(fig[1,1])
xlims!(ax, 0, Nz)
ylims!(ax, -1, 2)
lines!(ax, ρl; linewidth = 5)
sl = Makie.Slider(fig[2, 1], range = 1:Nt, startvalue = 1)
connect!(n, sl.value)
fig

```

But if I copy-past this code in an other notebook (with the same kernel) it works and I have an output. Then I copy-past this same code in an other notebook with the same kernel it does not work anymore…

I don’t understand. I use Windows and Google Chrome.

Thank you for your help.

---

<div class="post-metadata">

**Author:** ![PharmCat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pharmcat/32/6953_2.png) [@PharmCat](https://discourse.julialang.org/u/PharmCat)\
**Post date:** [October 27, 2022, 9:45pm UTC](https://discourse.julialang.org/t/ijulia-wglmakie-and-jupyterlab-no-output/70467/2 "2022-10-27T21:45:32Z")

</div>

In Jupiter with this code I have white page - only axes, `scatter` doesn’t works too. This code with `wireframe` works fine. Is it possible to make it work?

```julia
using WGLMakie
N = 60
function xy_data(x, y)
    r = sqrt(x^2 + y^2)
    r == 0.0 ? 1f0 : (sin(r)/r)
end
l = range(-10, stop = 10, length = N)
z = Float32[xy_data(x, y) for x in l, y in l]
surface(
    -1..1, -1..1, z,
    colormap = :Spectral
)

```
