Get a color palette (Hex color code list) for a colormap

get_color_palette(cmap_name, N)

Arguments

cmap_name

name of the colormap

N

number of colors