mooonpy.tools.misc_utils module

miscellaneous utilities that do not belong anywhere else

class mooonpy.tools.misc_utils.ColorMap(name='coolwarm')[source]

Bases: ListListTable

Read csv files of RGB values with a similar format to matplotlib.colormaps. root/tools/lookups contains some exaple custom colormaps, more can be added by adding files to this directory.

Currently Supported Colormaps
  • coolwarm: blue to light to red diverging map (same as matplotlib?)

  • cooloverwarm: blue to grey to red diverging map

  • coswan: pink to grey to green diverging map

  • pyrolyze: green to grey to dark purple diverging map

  • redblack: red to dark grey linearish map

Read csv files of RGB vales into a ListListTable object.