Export colormap as GIMP gradient.
cmap (str) – Colormap name.
filename (str) – Optional filename. Default: cmap + ‘.cpt’
N (int) – Number of colors.