Merged LinearColormap and DiscreteColormap.