[Matplotlib-users] LaTeX matplotlib Bug?

2011-04-05 Thread Sean Lake
Hello all, I'm trying to specify a range of numbers in a particular legend using LaTeX. In order to do so I'm feeding it the string: r$80--120. The output should be have an endash, 80–120, but I'm getting 80--120. This is a standard feature of LaTeX (

Re: [Matplotlib-users] LaTeX matplotlib Bug?

2011-04-05 Thread Andre' Walker-Loud
Hi Sean, I just checked - the hyphenation you want does not work in LaTeX in math mode. Try removing the $-signs in your string command. Then the hyphenation should work. Andre On Apr 5, 2011, at 4:56 PM, Sean Lake wrote: Hello all, I'm trying to specify a range of numbers in a

Re: [Matplotlib-users] LaTeX matplotlib Bug?

2011-04-05 Thread gary ruben
Um, how about r$80--120$ instead of r$80--120 ? On Wed, Apr 6, 2011 at 9:56 AM, Sean Lake odysseus9...@gmail.com wrote: Hello all, I'm trying to specify a range of numbers in a particular legend using LaTeX. In order to do so I'm feeding it the string: r$80--120. The output should be have

Re: [Matplotlib-users] LaTeX matplotlib Bug?

2011-04-05 Thread Sean Lake
Ah, sorry about that. In the script I was using it had the closing $. In spite of the typo, Gary Ruben found the actual bug: math mode doesn't support --. Thanks, Sean On Apr 5, 2011, at 17:08, gary ruben wrote: Um, how about r$80--120$ instead of r$80--120 ? On Wed, Apr 6, 2011 at 9:56

Re: [Matplotlib-users] LaTeX matplotlib Bug?

2011-04-05 Thread Andre' Walker-Loud
you appear to have another typo. Gary Ruben found the actual bug: math mode doesn't support --. Gary Ruben -- Andre Walker-Loud :) On Apr 5, 2011, at 5:15 PM, Sean Lake wrote: Ah, sorry about that. In the script I was using it had the closing $. In spite of the typo, Gary Ruben found

Re: [Matplotlib-users] LaTeX matplotlib Bug?

2011-04-05 Thread Jae-Joon Lee
On Wed, Apr 6, 2011 at 9:15 AM, Sean Lake odysseus9...@gmail.com wrote: Gary Ruben found the actual bug: math mode doesn't support --. Just to clarify, in latex math mode, $-$ is - (minus sign) and $--$ is --. And this is not a bug. -JJ

Re: [Matplotlib-users] LaTeX matplotlib Bug?

2011-04-05 Thread Andre' Walker-Loud
On Apr 5, 2011, at 5:51 PM, Jae-Joon Lee wrote: On Wed, Apr 6, 2011 at 9:15 AM, Sean Lake odysseus9...@gmail.com wrote: Gary Ruben found the actual bug: math mode doesn't support --. Just to clarify, in latex math mode, $-$ is - (minus sign) and $--$ is --. And this is not a bug. -JJ