Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4695c53

Browse files
committed
Fix mathtext bug (fractions too close together)
svn path=/trunk/matplotlib/; revision=5319
1 parent f42da8a commit 4695c53

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/mathtext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ def get_xheight(self, font, fontsize, dpi):
656656

657657
def get_underline_thickness(self, font, fontsize, dpi):
658658
cached_font = self._get_font(font)
659-
return cached_font.font.underline_thickness / 64.0 / fontsize * (10.0 * dpi / 100.0)
659+
return (cached_font.font.underline_thickness / 64.0 / fontsize) * (dpi)
660660

661661
def get_kern(self, font1, fontclass1, sym1, fontsize1,
662662
font2, fontclass2, sym2, fontsize2, dpi):

0 commit comments

Comments
 (0)