seaborn.palplot

seaborn.palplot(pal, size=1)

Plot the values in a color palette as a horizontal array.

Parameters:

pal : sequence of matplotlib colors

colors, i.e. as returned by seaborn.color_palette()

size :

scaling factor for size of plot