From: John H. <jd...@gm...> - 2010-08-04 12:56:39
|
On Wed, Aug 4, 2010 at 6:27 AM, thowa <tho...@fo...> wrote: > I'm afraid, I made myself not clear enough. > I want to rotate the numbers on the axis (similar to what autofmt_xdate() is > doing). > As I understand, autofmt_xdate() is changing the rotation of the numbers for > all sub-plots. > But I want to do it only for selected subplots. > > Is that is possible? Yes, if ax is your subplot instance for label in ax.get_xticklabels(): label.set_rotation(45) label.set_horizontalalignment('right') JDH |