On Tue, Feb 7, 2012 at 1:15 PM, Gökhan Sever <gokhanse...@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 <rma...@gmail.com> wrote:
>
>> On Tue, Feb 7, 2012 at 12:49 PM, Gökhan Sever <gokhanse...@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.

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?

Ben Root
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to