Revision: 4319
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4319&view=rev
Author: mdboom
Date: 2007-11-15 12:05:46 -0800 (Thu, 15 Nov 2007)
Log Message:
-----------
Fix value display in log-scaled plots.
Modified Paths:
--------------
branches/transforms/lib/matplotlib/cbook.py
Modified: branches/transforms/lib/matplotlib/cbook.py
===================================================================
--- branches/transforms/lib/matplotlib/cbook.py 2007-11-15 18:39:36 UTC (rev 4318)
+++ branches/transforms/lib/matplotlib/cbook.py 2007-11-15 20:05:46 UTC (rev 4319)
@@ -176,7 +176,7 @@
def strip_math(s):
'remove latex formatting from mathtext'
- remove = (r'\rm', '\cal', '\tt', '\it', '\\', '{', '}')
+ remove = (r'\mathdefault', r'\rm', r'\cal', r'\tt', r'\it', '\\', '{', '}')
s = s[1:-1]
for r in remove: s = s.replace(r,'')
return s
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|