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

Skip to content

Commit 63224f2

Browse files
committed
Fix refactoring bug.
svn path=/trunk/matplotlib/; revision=3781
1 parent 96a044e commit 63224f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/backends/backend_ps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ def draw_tex(self, gc, x, y, s, prop, angle, ismath='TeX!'):
666666
"""
667667
draw a Text instance
668668
"""
669-
w, h, bl = self.get_text_width_height_baseline(s, prop, ismath)
669+
w, h, bl = self.get_text_width_height_descent(s, prop, ismath)
670670
fontsize = prop.get_size_in_points()
671671
corr = 0#w/2*(fontsize-10)/10
672672
pos = _nums_to_str(x-corr, y)

0 commit comments

Comments
 (0)