> From: Andre' Walker-Loud [mailto:walksl...@gmail.com] 
> Sent: Thursday, June 21, 2012 22:19
> 
> Hi All,
> 
> Trying to tune alignment of xtick labels.

[...]

> Try as I might, I can not figure out how to get these to 
> align how I want (I have tried all the options from 
> verticalalignment=option in the plt.xticks() command.

[...]

Does the following do what you want?

    plt.xticks(x_dat, x_label, va='baseline')
    plt.gca().xaxis.set_tick_params(pad=16)


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to