|
From: Simon F. <sim...@a-...> - 2010-08-08 09:18:50
|
On 16:00 Fri 06.08.10, Simon Friedberger wrote: > It is about the positioning of the rotated labels. > The code is here: > http://paste.pocoo.org/show/246870/ > > Note that in line 36 I had already remarked about the hack I used. Now I > noticed that if the labels have different lengths rotating them gives > different positions. What I really want to do is rotate about the bottom > of the labels. Can that be done? I have found a solution. I'm not sure if it's good or intended but the following works: for label in xax.get_ticklabels(): label.set_rotation(45) label.set_horizontalalignment('left') Please comment. Apart from that it's here for people who look for a solution to the same question. Best Simon |