Revision: 4916
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4916&view=rev
Author:   dsdale
Date:     2008-01-31 11:05:28 -0800 (Thu, 31 Jan 2008)

Log Message:
-----------
fixed a bug in ticker, unicode string passed to tex

Modified Paths:
--------------
    branches/v0_91_maint/CHANGELOG
    branches/v0_91_maint/lib/matplotlib/ticker.py

Modified: branches/v0_91_maint/CHANGELOG
===================================================================
--- branches/v0_91_maint/CHANGELOG      2008-01-31 19:01:38 UTC (rev 4915)
+++ branches/v0_91_maint/CHANGELOG      2008-01-31 19:05:28 UTC (rev 4916)
@@ -1,3 +1,5 @@
+2008-01-31 Don't use unicode strings with usetex by default - DSD
+
 2008-01-31 Fix text spacing problems in PDF backend with *some* fonts,
            such as STIXGeneral.
 

Modified: branches/v0_91_maint/lib/matplotlib/ticker.py
===================================================================
--- branches/v0_91_maint/lib/matplotlib/ticker.py       2008-01-31 19:01:38 UTC 
(rev 4915)
+++ branches/v0_91_maint/lib/matplotlib/ticker.py       2008-01-31 19:05:28 UTC 
(rev 4916)
@@ -338,7 +338,7 @@
                 return ''.join(('$',sciNotStr,r'\mathdefault{',offsetStr,'}$'))
             elif self._usetex:
                 if sciNotStr != '':
-                    sciNotStr = u'\xd7%s' % sciNotStr
+                    sciNotStr = u'\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