On Tue, Feb 7, 2012 at 1:15 PM, Gökhan Sever <firstname.lastname@example.org> 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 <email@example.com> wrote:
On Tue, Feb 7, 2012 at 12:49 PM, Gökhan Sever <firstname.lastname@example.org> wrote:Right, but we shouldn't guess. If we automatically split on
> This works as well, as long as it functions :)
> My idea requires little less typing. But forgot previously, text string
> should be whitespace split.
whitespace, this becomes harder:
plt.ylabel(["The sun is", "yellow"], ['k', 'y'])
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?