# Makie record without live plotting / sleep = false not implemented

**URL:** https://discourse.julialang.org/t/makie-record-without-live-plotting-sleep-false-not-implemented/55991
**Category:** Visualization
**Tags:** question, plotting, makie
**Created:** [February 25, 2021, 7:34am UTC](https://discourse.julialang.org/t/makie-record-without-live-plotting-sleep-false-not-implemented/55991 "2021-02-25T07:34:56Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![lazarusA](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lazarusa/32/6571_2.png) [@lazarusA](https://discourse.julialang.org/u/lazarusA)
#### Post date: [February 25, 2021, 7:34am UTC](https://discourse.julialang.org/t/makie-record-without-live-plotting-sleep-false-not-implemented/55991/1 "2021-02-25T07:34:56Z")

</div>

Related to this question

> [@How to record a video with WGLMakie/Atom without live plotting?](https://discourse.julialang.org/t/how-to-record-a-video-with-wglmakie-atom-without-live-plotting/54032):
>
> I’m using WGLMakie with Atom/Juno to [record](https://makie.juliaplots.org/stable/abstractplotting_api.html#AbstractPlotting.record-Tuple%7BAny,%20Any,%20Any%7D) videos. Is it possible to record videos without live plotting in Atom? Sometimes I just want the video and live plotting seems like a drain on resources. Thanks!

I did look into the source code and it seems like the option `sleep = true or false` is not implemented in order to avoid the live plotting. Is there another way to obtain the same effect ?

---

<div class="post-metadata">

### Author: ![ffreyer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ffreyer/32/21569_2.png) [@ffreyer](https://discourse.julialang.org/u/ffreyer)
#### Post date: [February 25, 2021, 2:48pm UTC](https://discourse.julialang.org/t/makie-record-without-live-plotting-sleep-false-not-implemented/55991/2 "2021-02-25T14:48:26Z")

</div>

In GLMakie you can try

```julia
GLMakie.set_window_config!(framerate = Inf, vsync = false)

```

before opening a window. That should bring you in a mode where we don’t sleep on Julias side and GLFW runs as fast as possible.

I’d assume CairoMakie would run as fast as possible to begin with. WGLMakie I have no idea about

---

<div class="post-metadata">

### Author: ![lazarusA](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lazarusa/32/6571_2.png) [@lazarusA](https://discourse.julialang.org/u/lazarusA)
#### Post date: [February 25, 2021, 3:17pm UTC](https://discourse.julialang.org/t/makie-record-without-live-plotting-sleep-false-not-implemented/55991/3 "2021-02-25T15:17:23Z")

</div>

> [@ffreyer](#):
>
> `GLMakie.set_window_config!(framerate = Inf, vsync = false)`

Thanks, although, the window still shows up but then stops and I get (I’m running this in windows)  
`GLFWError (PLATFORM_ERROR): WGL: Failed to make context current: The handle is invalid. ... Screen not open!`
