# Could not apply vbox in AbstractPlotting

**URL:** <https://discourse.julialang.org/t/could-not-apply-vbox-in-abstractplotting/54975>\
**Category:** General Usage\
**Tags:** makie\
**Created:** [February 10, 2021, 9:52am UTC](https://discourse.julialang.org/t/could-not-apply-vbox-in-abstractplotting/54975 "2021-02-10T09:52:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carsten](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@Carsten](https://discourse.julialang.org/u/Carsten)\
**Post date:** [February 10, 2021, 9:52am UTC](https://discourse.julialang.org/t/could-not-apply-vbox-in-abstractplotting/54975/1 "2021-02-10T09:52:49Z")

</div>

```julia
using GLMakie  
using CairoMakie
using AbstractPlotting

CairoMakie.activate!()
AbstractPlotting.inline!(true)

```

All above packages are up to date. Running the following example:

```julia
t = range(0, stop = 1, length = 100)
θ = (6π) .* t
x = t .* cos.(θ)
y = t .* sin.(θ)
p1 = lines(x, y, color = t, colormap = :colorwheel, linewidth = 8, scale_plot = false)
p2 = scatter(x, y, color = t, colormap = :colorwheel, linewidth = 8, scale_plot = false)
vbox(p1, p2)

```

ends up with the error message:

```julia
1.5.3>vbox(p1, p2)
ERROR: UndefVarError: vbox not defined
Stacktrace:
 [1] top-level scope at REPL[58]:1

```

Any help is appreciated

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://discourse.julialang.org/u/jules)\
**Post date:** [February 10, 2021, 1:37pm UTC](https://discourse.julialang.org/t/could-not-apply-vbox-in-abstractplotting/54975/2 "2021-02-10T13:37:28Z")

</div>

Is this an old example from the gallery? Since the integration of MakieLayout we don’t use vbox anymore to assemble multiple plots into a layout. Check this for example [http://makie.juliaplots.org/stable/makielayout/tutorial.html](http://makie.juliaplots.org/stable/makielayout/tutorial.html)  
The gallery has not really kept up with the rapid development
