Revision: 3663
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=3663&view=rev
Author:   mdboom
Date:     2007-08-02 08:15:29 -0700 (Thu, 02 Aug 2007)

Log Message:
-----------
Minor mathtext bugfixes

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

Modified: trunk/matplotlib/lib/matplotlib/mathtext.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/mathtext.py 2007-08-01 17:28:58 UTC (rev 
3662)
+++ trunk/matplotlib/lib/matplotlib/mathtext.py 2007-08-02 15:15:29 UTC (rev 
3663)
@@ -1031,7 +1031,7 @@
         return '[%s <%d %d %d %d> %s]' % (self.__internal_repr__(),
                                           self.width, self.height,
                                           self.depth, self.shift_amount,
-                                          ' '.join(self.children))
+                                          ' '.join([repr(x) for x in 
self.children]))
 
     def _determine_order(self, totals):
         """A helper function to determine the highest order of glue
@@ -2104,7 +2104,7 @@
             # @757
             sub.shrink()
             x = Hlist([sub])
-            x.width += SCRIPT_SPACE * xHeight
+            # x.width += SCRIPT_SPACE * xHeight
             shift_down = max(shift_down, SUB1)
             clr = x.height - (abs(xHeight * 4.0) / 5.0)
             shift_down = max(shift_down, clr)
@@ -2122,7 +2122,7 @@
             else: # Both sub and superscript
                 sub.shrink()
                 y = Hlist([sub])
-                y.width += SCRIPT_SPACE * xHeight
+                # y.width += SCRIPT_SPACE * xHeight
                 shift_down = max(shift_down, SUB1 * xHeight)
                 clr = 2.0 * rule_thickness - ((shift_up - x.depth) - (y.height 
- shift_down))
                 if clr > 0.:


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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to