On Thu, May 20, 2010 at 9:34 AM, Michael Droettboom <md...@stsci.edu> wrote: > It is a bug, but the broken behavior was kept for backward > compatibility. Try setting the vertical alignment to 'baseline'. > > import matplotlib.pyplot as plt > fig=plt.figure() > plt.text(0.4,0.5,"some text", verticalalignment='baseline') > plt.text(0.6,0.5,"some text with a g in it", verticalalignment='baseline') > > It's probably about time to fix this -- we will have to update many of > the unit tests -- what do the rest of the devs think?
I'm +1, but I've been bitten by this and am not concerned personally with the backwards incompatibility. I'm not sure how much code out there is dependant on this. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma ------------------------------------------------------------------------------ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users