How to make top title in group layout plot?

A hacky way of doing it was in this thread

title = plot(title = "Plot title", grid = false, showaxis = false, bottom_margin = -25Plots.px)
p1 = scatter(rand(5, 1), title = "Subplot 1")
p2 = scatter(rand(5, 1), title = "Subplot 2")
plot(title, p1, p2, layout = @layout([A{0.01h}; [B C]]))

image

1 Like