Okay, so using cm.set_over() and set_under works, but is there any way of adding the set colors to the edges of the colorbar?

On 29 August 2011 15:47, James McMurray <jamesmcm03@gmail.com> wrote:

Is it possible to color values outside the colorbar limits in a different color than the colorbar itself. So for example, an otherwise greyscale plot could have the values outside the upperlimit in blue and those below the lower limit in red, so that these points are not confused with the legitimate data points (as they can be when they are just more black and white points as default).

James McMurray