Added tests for LinearGradient.
Added tests for LinearGradient.
Added tests for LinearGradient with control points.
WIP: discrete colormaps.
Fixes in discrete colormap.