A colormap can be called like a function to get the colors associated to (normalized) values. In your example, it is called with uniformly spaced values (linspace) between 0 and 1. This should return the corresponding colors.
------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce
_______________________________________________
Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users