From: <ds...@us...> - 2008-01-28 15:45:23
|
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. |