new colormap

Hi All,

As part of nipy[1] we have a spectral colormap which we use and would
like to include it upstream as part of matplotlib. I'm working on a
patch but before I submit it, I need some advice on how boilerplate.py
should be used. I've made the required additions to _cm.py, pylab.py
and boilerplate.py and when I run boilerplate.py it generates a
spectral() function as it does for all the other colormaps. My
question is, how should the output of boilerplate.py be included into
pylab.py? Should I just cut and paste the output, or is there some
automagic tool for doing it?

Cheers,

Tim Leslie

[1] http://neuroimaging.scipy.org/