Heatmap colors not rendering properly

@gclopton1001

See my answer to your previous question: Heatmap Color Scale
The color mapping of data occurs in two steps: first the range of values is mapped to [0,1] through the normalization function. Then to each normal (i.e. a value in [0,1]) one associates the corresponding color in the colorscale.