parsnip.get_band_plot_color

parsnip.get_band_plot_color(band)

Return the plot color for a given band.

If the band does not yet have a color assigned to it, then a random color will be assigned (in a systematic way).

Parameters:

band (str) – Name of the band to use.

Returns:

Matplotlib color to use when plotting the band

Return type:

str