File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ 2008-06-10 Fix text baseline alignment bug. [ 1985420 ] Repair of
2+ baseline alignment in Text._get_layout. Thanks Stan West -
3+ MGD
4+
152008-06-09 Committed Gregor's image resample patch to downsampling
26 images with new rcparam image.resample - JDH
37
4- 2008-06-09 Don't install Enthought.Traits along with matplotlib. For
5- matplotlib developers convenience, it can still be
8+ 2008-06-09 Don't install Enthought.Traits along with matplotlib. For
9+ matplotlib developers convenience, it can still be
610 installed by setting an option in setup.cfg while we figure
711 decide if there is a future for the traited config - DSD
812
Original file line number Diff line number Diff line change @@ -246,7 +246,7 @@ def _get_layout(self, renderer):
246246
247247 if valign == 'center' : offsety = (ymin + height / 2.0 )
248248 elif valign == 'top' : offsety = (ymin + height )
249- elif valign == 'baseline' : offsety = (ymin + height ) + baseline
249+ elif valign == 'baseline' : offsety = (ymin + height ) - baseline
250250 else : offsety = ymin
251251
252252 xmin -= offsetx
You can’t perform that action at this time.
0 commit comments