myimagelib.myImageLib.bestcolor

myimagelib.myImageLib.bestcolor(n)

Default plot color scheme of Matplotlib and Matlab. It is the same as the “tab10” colormap of Matplotlib.colormaps.

Parameters

n (int) – integer from 0 to 9, specifying the index of the color in the list

Returns

the hex code of the specified color

Return type

str