# Makie won't display during record after update

**URL:** https://discourse.julialang.org/t/makie-wont-display-during-record-after-update/111341
**Category:** General Usage
**Tags:** glmakie
**Created:** [March 8, 2024, 10:12am UTC](https://discourse.julialang.org/t/makie-wont-display-during-record-after-update/111341 "2024-03-08T10:12:32Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![lpv](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lpv/32/206528_2.png) [@lpv](https://discourse.julialang.org/u/lpv)
#### Post date: [March 8, 2024, 10:12am UTC](https://discourse.julialang.org/t/makie-wont-display-during-record-after-update/111341/1 "2024-03-08T10:12:32Z")

</div>

Hello!

Yesterday I’ve updated Julia from 1.6.4 to 1.10.2 on two computers, one on Windows 11 and the other on Ubunto 20.4. After updating, I am unable to monitor my plot during record on either. For example, in the code below, the plot is shown only at “display(fig)” and then it disappears during recording.

Is there any options I might need to activate for it to hold the plot open?

Thank you very much!

using GLMakie  
function dummyVideo()  
fig = Figure()  
axs = Axis(fig[1, 1])

```
fps = 30
tf = 5.0
frames = Int(tf*fps)
t = LinRange(0, tf, frames)

x = zeros(frames)
obsx = Observable(x)
lines!(axs, t, obsx)
display(fig)
record(fig, "dummy.mp4", 1:frames; framerate = fps) do i
    x[i] = sin(0.4π*i/fps)
    obsx[] = x    
end
return nothing

```

end

---

<div class="post-metadata">

### Author: ![sdanisch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sdanisch/32/1406_2.png) [@sdanisch](https://discourse.julialang.org/u/sdanisch)
#### Post date: [March 8, 2024, 12:47pm UTC](https://discourse.julialang.org/t/makie-wont-display-during-record-after-update/111341/2 "2024-03-08T12:47:18Z")

</div>

This seems to be a bug…  
You need `record(fig, ...; visible=true)` AND display(fig)…  
I think either of them should be enough!

---

<div class="post-metadata">

### Author: ![lpv](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lpv/32/206528_2.png) [@lpv](https://discourse.julialang.org/u/lpv)
#### Post date: [March 8, 2024, 1:26pm UTC](https://discourse.julialang.org/t/makie-wont-display-during-record-after-update/111341/3 "2024-03-08T13:26:46Z")

</div>

Everything is working perfectly now!  
Thank you very much!
