From: Benjamin R. <ben...@ou...> - 2012-02-07 18:43:40
|
On Tue, Feb 7, 2012 at 12:38 PM, Gökhan Sever <gok...@gm...> wrote: > Posted at https://github.com/matplotlib/matplotlib/issues/697 > > I think a syntax like: > > plt.ylabel("Sun is shining.", color='rgb') > > would be a good start. (Assuming len of string == len of colors) > > Don't know if I like that. It becomes even more difficult to convert the color spec into rgb. How about this? plt.ylabel(['Sun", "is", "shining"], color=['r', 'g', 'b']) By having the input label be an array, that would force ylabel to recognize that the color sequence should also be treated similarly. Ben Root |