On Thursday 26 July 2007 9:05:41 pm Fernando Perez wrote: > [ That was meant for the list, sorry ] > > On 7/26/07, John Hunter <[EMAIL PROTECTED]> wrote: > > I'm on the fence as to how to handle this case. The majority of our > > users will think of $ as the US currency symbol, and will have never > > heard of TeX. Option 1 is to educate them, and require them to \$ > > quote that symbol. Option 2 is to enable a text property eg mathtext, > > and do > > > > text(x, y, 'what is the $\sin(x)$', mathtext=True)
But would this make sense: text(x, y, 'what is the $\sin(x)$', mathtext=False) [...] > This sounds to me like a good case for Guido's mantra of NOT putting > keywords in functions and instead just making two separate functions. > Why not just > > text(x,y,"This year I lost a lot of $$$") > mtext(x,y,r"This year I lost \$$\infty$") > > ? Explicit is better than implicit and all that... what about x/ylabels, titles, ticks, etc? I think education is the best way to go. Its not that difficult to grasp, its an established standard... and we are designing tools primarily for scientists and engineers after all. Most of the other options will probably have a larger effect on existing code. Darren ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel