On Tue, Feb 7, 2012 at 12:46 PM, Benjamin Root <ben.root@ou.edu> wrote:


On Tue, Feb 7, 2012 at 1:15 PM, Gökhan Sever <gokhansever@gmail.com> wrote:
I was basing my whitespace split idea on single string assumption --eg. no list passing.

I do not have a strong preference on the final argument passing, as long as it works instead of manually placing the texts on figure or axis :)



On Tue, Feb 7, 2012 at 11:52 AM, Ryan May <rmay31@gmail.com> wrote:
On Tue, Feb 7, 2012 at 12:49 PM, Gökhan Sever <gokhansever@gmail.com> wrote:
> This works as well, as long as it functions :)
>
> My idea requires little less typing. But forgot previously, text string
> should be whitespace split.

Right, but we shouldn't guess. If we automatically split on
whitespace, this becomes harder:

plt.ylabel(["The sun is", "yellow"], ['k', 'y'])

Ryan


I think the python mantra of "explicit over implicit" should be followed here.  I don't think we currently allow list of strings, so there is no risk of breaking existing scripts, I think.  We probably should confirm that just in case.


Fair enough.
 
Also, how deep should this rabbit hole go?  I could imagine one could want this for title() and figtitle().  Maybe it would be best to implement this at the Text() constructor level?

ylabel text coloring works for me for the time being. However, a general implementation would possibly fulfill other incoming requests.
 

Ben Root




--
Gökhan