I'm no good at choosing colors.  Does matplotlib have a way to 
automatically assign colors (based on a theme), or provide a way to 
choose a color from a theme?  (Excel 2007 opened my eyes to this.) 
Currently, when I do:

   bar(..., color = 'r', ...)
   bar(..., color = 'y', ...)
   bar(..., color = 'b', ...)

I usually just choose one of the primary colors.  It would be nice if I 
could instead write the following (or better if the colors could be 
assigned automagically), so I needn't worry about choosing colors:

   bar(..., color = themecolor(0), ...)
   bar(..., color = themecolor(1), ...)
   bar(..., color = themecolor(2), ...)

I see these things called colormaps on the home page documentation, but 
I can't figure out how to use these (calling autumn() before plotting 
made no change to my plot) or whether they're even what I'm looking for. 
  Or perhaps there's some Python package out there completely unrelated 
to matplotlib that I could use?  Thanks in advance for any hints.
-- 
Yang Zhang
http://www.mit.edu/~y_z/

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to