Can you try ]up
so that you get GridLayoutBase.jl v.0.5.7
? It should work now:
f = Figure(font = "NewCM10-Regular.otf")
ls = []
for i in 1:4
for j in 1:i
ax = Axis(f[i, j], width = 100, height = 100, ylabel = "y label")
push!(ls, lines!(ax, 0..10, sin, color = rand(RGBf0)))
if i == j && j > 1
ax.yaxisposition = :right
if j < 4
ax.alignmode = Mixed(right = MakieLayout.Protrusion(0))
end
elseif j > 1
hideydecorations!(ax, grid = false)
end
if i < 4
hidexdecorations!(ax, grid = false)
end
end
end
Legend(f[1, 4], ls, string.(1:10), halign = :right, valign = :top,
tellwidth = false, nbanks = 3)
resize!(f.scene, f.layout.layoutobservables.reportedsize[]...)
save("test.pdf", f)
@lmiq as you can see, you can use a computer-modern like font for everything (for some reason in this case it only worked when giving the full path, though)