Re: [Matplotlib-users] Too long tick labels

2010-10-22 Thread Gökhan Sever
On Fri, Oct 22, 2010 at 1:47 AM, Dmitry Vinokurov wrote: > Hello, > > When I plot graph with values 10^5 and more at y axis, the labels are > too long and run out of the picture borders. So I get "60" instead > of "160" at y axis or something like this. Tried to use > > majorFormatter

[Matplotlib-users] Too long tick labels

2010-10-21 Thread Dmitry Vinokurov
Hello, When I plot graph with values 10^5 and more at y axis, the labels are too long and run out of the picture borders. So I get "60" instead of "160" at y axis or something like this. Tried to use majorFormatter = ticker.FormatStrFormatter('%e') ax.yaxis.set_major_formatter(major