polyTEM.tol_colors.tol_cset

polyTEM.tol_colors.tol_cset(colorset=None)

Discrete color sets for qualitative data.

Define a namedtuple instance with the colors. Examples for: cset = tol_cset(<scheme>)

  • cset.red and cset[1] give the same color (in default ‘bright’ colorset)

  • cset._fields gives a tuple with all color names

  • list(cset) gives a list with all colors