[Matplotlib-users] Strange default choice of ylabel ticks

2012-01-18 Thread Per Nielsen
Hi all I get a rather strange scaling / choice of y-axis ticks for the following script: import pylab as pl some_points = [0.94589396231920286, 0.94593953605915637, 0.94601787712257401, 0.94597530431819743, 0.9459922123931529, 0.94622433138703055] pl.plot(some_points, '.-')

Re: [Matplotlib-users] Strange default choice of ylabel ticks

2012-01-18 Thread Yann Tambouret
Hi Per, I think you want to use the 'ticklabel_format' method: http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.ticklabel_format Here's your example modified some. 'some_point2A.pdf' produces exactly the same as the default. 'some_point2B.pdf' does not use an offset, and