# \[Interact.jl\] faulty ribbons in gif

**URL:** https://discourse.julialang.org/t/interact-jl-faulty-ribbons-in-gif/28715
**Category:** General Usage
**Tags:** package, plotting
**Created:** [September 13, 2019, 9:10am UTC](https://discourse.julialang.org/t/interact-jl-faulty-ribbons-in-gif/28715 "2019-09-13T09:10:06Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![MatFi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/matfi/32/10002_2.png) [@MatFi](https://discourse.julialang.org/u/MatFi)
#### Post date: [September 13, 2019, 9:10am UTC](https://discourse.julialang.org/t/interact-jl-faulty-ribbons-in-gif/28715/1 "2019-09-13T09:10:06Z")

</div>

When using interact together with `@manipulate` all seems to be fine

```julia
using Plots, Interact
gr()
x=-2:0.1:5
ui = @manipulate for i in Interact.slider(1:10;label="time", value=1)
   plot(x,i*exp.(-x).+i*exp.(2*x),ribbon=10*exp.(2*x),yscale=:log10,ylim=(1,2000))
end

```

 ![image](https://global.discourse-cdn.com/julialang/original/3X/e/a/ea8c244370ac5b269cca9d65ac05875c9fbc49fa.png)

but this changes as soon as `@gif` is used

```julia

x=-2:0.1:5
gif = @gif for i in 1:10
   plot(x,i*exp.(-x).+i*exp.(2*x),ribbon=10*exp.(2*x),yscale=:log10,ylim=(1,2000))
end

```

gif(gif,“test.gif”,fps=3)  
 ![000002](https://global.discourse-cdn.com/julialang/original/3X/7/9/798dee98f3aab4970bfa0bc531a3a1a8916384ed.png)  
This seems to be backed dependent, but I want to stay with `GR`. Any idea for an workaround?
