On Mon, Aug 29, 2011 at 9:59 AM, James McMurray <jamesmcm03@gmail.com> wrote:
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?



This example should do what you want:

http://matplotlib.sourceforge.net/examples/api/colorbar_only.html

I hope that helps!
Ben Root