Revision: 4903
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4903&view=rev
Author:   dsdale
Date:     2008-01-28 07:43:55 -0800 (Mon, 28 Jan 2008)

Log Message:
-----------
don't use unicode strings with usetex

Modified Paths:
--------------
    trunk/matplotlib/lib/matplotlib/ticker.py

Modified: trunk/matplotlib/lib/matplotlib/ticker.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/ticker.py   2008-01-28 13:28:20 UTC (rev 
4902)
+++ trunk/matplotlib/lib/matplotlib/ticker.py   2008-01-28 15:43:55 UTC (rev 
4903)
@@ -336,7 +336,7 @@
                 return ''.join(('$',sciNotStr,r'\mathdefault{',offsetStr,'}$'))
             elif self._usetex:
                 if sciNotStr != '':
-                    sciNotStr = u'\xd7%s' % sciNotStr
+                    sciNotStr = r'\times%s' % sciNotStr
                 return ''.join(('$',sciNotStr,offsetStr,'$'))
             else:
                 return ''.join((sciNotStr,offsetStr))


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to