# AbstractPlotting Example Won't Work After I Change it to Makie

**URL:** <https://discourse.julialang.org/t/abstractplotting-example-wont-work-after-i-change-it-to-makie/92593>\
**Category:** General Usage\
**Tags:** package\
**Created:** [January 6, 2023, 8:34am UTC](https://discourse.julialang.org/t/abstractplotting-example-wont-work-after-i-change-it-to-makie/92593 "2023-01-06T08:34:24Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Freya\_the\_Goddess](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/freya_the_goddess/32/36835_2.png) [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Post date:** [January 6, 2023, 10:50am UTC](https://discourse.julialang.org/t/abstractplotting-example-wont-work-after-i-change-it-to-makie/92593/7 "2023-01-06T10:50:39Z")

</div>

> [@sijo](#):
>
> ```julia
> using CairoMakie
> 
> time = Observable(0.0)
> 
> sf = @lift p -> Point2(p[2] * $time, 4 * p[1])
> title = @lift string("t = ", round($time; sigdigits=2))
> 
> fig = Makie.streamplot(
> sf,
> -2..2, -2..2;
> linewidth=2,
> colormap=:magma,
> axis=(; title),
> )
> 
> @time record(fig, "output.mp4", range(0, 20, 5*30)) do t
> time[] = t
> end
> 
> ```

I have a question why would when I add Makie in another project environment it is the version `0.15.1` but in another project environment I made quite a long time ago, Makie that I added is already version `0.18.1`

You give CairoMakie example and I will test it in different env.

 ![Capture d’écran_2023-01-06_17-47-11](https://global.discourse-cdn.com/julialang/original/3X/0/c/0c729bd05c945b68afcf1ecb2417ec67a5cf4651.png)

I think Makie team should be making books of tutorial like `SciPy` created books for documentation with the code or like `CalculusWithJulia` so people can follow up the newest upgrade.

The code works:

 ![Capture d’écran_2023-01-06_17-50-07](https://global.discourse-cdn.com/julialang/original/3X/b/d/bd3d967e3b6c586994fbd6dc9e0454320ac08c25.png)

---

_[View the full topic](https://discourse.julialang.org/t/abstractplotting-example-wont-work-after-i-change-it-to-makie/92593)._
