From: <md...@us...> - 2007-09-05 11:51:58
|
Revision: 3781 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=3781&view=rev Author: mdboom Date: 2007-09-05 04:51:57 -0700 (Wed, 05 Sep 2007) Log Message: ----------- Fix refactoring bug. Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/backends/backend_ps.py Modified: trunk/matplotlib/lib/matplotlib/backends/backend_ps.py =================================================================== --- trunk/matplotlib/lib/matplotlib/backends/backend_ps.py 2007-09-04 20:49:00 UTC (rev 3780) +++ trunk/matplotlib/lib/matplotlib/backends/backend_ps.py 2007-09-05 11:51:57 UTC (rev 3781) @@ -666,7 +666,7 @@ """ draw a Text instance """ - w, h, bl = self.get_text_width_height_baseline(s, prop, ismath) + w, h, bl = self.get_text_width_height_descent(s, prop, ismath) fontsize = prop.get_size_in_points() corr = 0#w/2*(fontsize-10)/10 pos = _nums_to_str(x-corr, y) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |