i have found a solution for creating colors for many plots at this page:
http://stackoverflow.com/questions/7513262/matplotlib-large-set-of-colors-for-plots

what does this the following line do?
colors = plt.get_cmap('jet')(np.linspace(0, 1.0, len(kinds)))

plt.get_cmap('jet') gets a LinearSegmentedColormap object and np.linspace
creates a ndarray
but what happens because of this instruction?



--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/creating-colors-for-many-plots-tp43381.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
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

Reply via email to