From: Christopher Barrington-L. <cpb...@gm...> - 2009-09-28 02:18:22
|
Hello. My problem is as follows: (ipython --pylab) from pylab import * pp=plot([0,0],[1,1]) text(xlim()[0],1,' Need padding ',horizontalalignment='left') text(xlim()[1],1,' Need padding ',horizontalalignment='right') The second case does not do what I want, which is to pad the text on the right. Text strings are stripped on the right, but no on the left. How can I elegantly create a character of space? Thanks! c -- View this message in context: http://www.nabble.com/trailing-space-in-text-string-stripped%2C-making-it-impossible-to-right-pad-my-text-tp25639703p25639703.html Sent from the matplotlib - users mailing list archive at Nabble.com. |