Multi-column legend

using MakieLayout
using AbstractPlotting: px
using AbstractPlotting: px

using AbstractPlotting


scene, layout = layoutscene(resolution = (1400, 900))

ax = layout[1, 1] = LAxis(scene)

xs = 0:0.1:10
lins = [lines!(ax, xs, sin.(xs .+ 3v), color = RGBf0(v, 0, 1-v)) for v in 0:0.1:1]

leg = LLegend(scene, lins, string.(1:length(lins)), ncols = 3)

layout[1, 2] = leg

scene