Could not apply vbox in AbstractPlotting

using GLMakie  
using CairoMakie
using AbstractPlotting

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

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

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:

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

Any help is appreciated

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
The gallery has not really kept up with the rapid development

1 Like