Stack different color palettes in a single plot

Hello!

Let’s say I have the following code.

using Plots

plots = palette.([:leonardo, :autumn])

By doing that, I create a Vector{ColorPalette}, but actually I’d like to stack and display both color palettes (hopefully even with the names).Maybe there is a solution where I can create a grid and then display them. How could I do it?

This would stack the two:

using Plots, ColorSchemes
colors = [ColorSchemes.leonardo.colors; ColorSchemes.autumn.colors]
heatmap(rand(10,10), c=palette(colors))

NB: or just c=colors

Plots_ColorSchemes_stacked