matplotlib.pyparsing.ParseFatalException: Expected end of math '$'

Forgot to mention the version in the last mail. I am using

In [2]: matplotlib.__version__
Out[2]: '0.91.1'

Cheers,
Chaitanya

You need to escape the , e.g. \[ \]

Does that work for you?

Cheers,
Mike

Chaitanya Krishna wrote:

···

Forgot to mention the version in the last mail. I am using

In [2]: matplotlib.__version__
Out[2]: '0.91.1'

Cheers,
Chaitanya

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options
  
--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA

Nope. Does not work.

Fails with ...

/home/cande/python/packages/matplotlib-0.91.1-py2.5-linux-x86_64.egg/matplotlib/mathtext.py:670:
MathTextWarning: Unrecognized symbol '\['. Substituting with a dummy
symbol.
  % sym.encode('ascii', 'backslashreplace'), MathTextWarning)
/home/cande/python/packages/matplotlib-0.91.1-py2.5-linux-x86_64.egg/matplotlib/mathtext.py:670:
MathTextWarning: Unrecognized symbol '\]'. Substituting with a dummy
symbol.
  % sym.encode('ascii', 'backslashreplace'), MathTextWarning)

Like it says, it renders the plot but with a dummy symbol. A plain [
or ] does not even render the plot.

Just tried, \left[ and \right] and they work.

Cheers,
Chaitanya

···

On Tue, Apr 14, 2009 at 6:30 PM, Michael Droettboom <mdroe@...86...> wrote:

You need to escape the , e.g. \[ \]
Does that work for you?

Cheers,
Mike

Chaitanya Krishna wrote:

Forgot to mention the version in the last mail. I am using

In [2]: matplotlib.__version__
Out[2]: '0.91.1'

Cheers,
Chaitanya

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA

Ah -- that bug may have been fixed since 0.91, if I recall correctly.

Mike

Chaitanya Krishna wrote:

···

Nope. Does not work.

Fails with ...

/home/cande/python/packages/matplotlib-0.91.1-py2.5-linux-x86_64.egg/matplotlib/mathtext.py:670:
MathTextWarning: Unrecognized symbol '\['. Substituting with a dummy
symbol.
  % sym.encode('ascii', 'backslashreplace'), MathTextWarning)
/home/cande/python/packages/matplotlib-0.91.1-py2.5-linux-x86_64.egg/matplotlib/mathtext.py:670:
MathTextWarning: Unrecognized symbol '\]'. Substituting with a dummy
symbol.
  % sym.encode('ascii', 'backslashreplace'), MathTextWarning)

Like it says, it renders the plot but with a dummy symbol. A plain [
or ] does not even render the plot.

Just tried, \left[ and \right] and they work.

Cheers,
Chaitanya

On Tue, Apr 14, 2009 at 6:30 PM, Michael Droettboom <mdroe@...86...> wrote:
  

You need to escape the , e.g. \[ \]
Does that work for you?

Cheers,
Mike

Chaitanya Krishna wrote:
    

Forgot to mention the version in the last mail. I am using

In [2]: matplotlib.__version__
Out[2]: '0.91.1'

Cheers,
Chaitanya

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA

--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA