Utilities for matplotlib colormaps