band_color#

lsst.analysis.ap.band_color(band, default='k')#

Return the official Rubin plotting color for a band.

Parameters#

bandstr

Band name, e.g. "g".

defaultstr, optional

Color to return for a band with no official color.

Returns#

colorstr

Matplotlib color specification.