This started as a translation of Bipolar Colormap by Ged Ridgway into Python. The original had 4 different colormap regions: n < 0.0: Rainbow colormap n < 0.5: Diverging cyan - blue - dark - red - ...