Get colors

plot_utils.get_colors(N=None, color_scheme='tab10')[source]

Return a list of N distinguisable colors. When N is larger than the color scheme capacity, the color cycle is wrapped around.

What does each color_scheme look like?

https://matplotlib.org/mpl_examples/color/colormaps_reference_04.png https://matplotlib.org/users/dflt_style_changes.html#colors-color-cycles-and-color-maps https://github.com/vega/vega/wiki/Scales#scale-range-literals https://www.mathworks.com/help/matlab/graphics_transition/why-are-plot-lines-different-colors.html

Parameters:
Returns:

colors – A list of colors (as RGB, or color name, or hex)

Return type:

list<list<float>>, list<str>