The attached script creates a colormap containing five colors. At the end of the script, I print the value of cmap.N, and it is 256 rather than 5.
http://www.nabble.com/file/p25740788/bugdemo.py bugdemo.py -- View this message in context: http://www.nabble.com/possible-bug-in-LinearSegmentedColormap-tp25740788p25740788.html Sent from the matplotlib - users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users