Re: [Matplotlib-users] reduce the number of ticks

2014-02-17 Thread Pierre Haessig
Le 17/02/2014 18:13, Eric Firing a écrit : >> > I was then wondering : >> > 1) is this solution recommended or not ? >> > 2) is there a shortcup to avoird the five "dots" ? > http://matplotlib.org/api/pyplot_api.html?highlight=locator_params#matplotlib.pyplot.locator_params > > This is both a pyplo

Re: [Matplotlib-users] reduce the number of ticks

2014-02-17 Thread Eric Firing
On 2014/02/17 4:58 AM, Pierre Haessig wrote: > Hi, > > In order to get a plot with a small number of ticks, it is possible to > create a matplotlib.ticker.MaxNLocator object with a small value for > `nbins`. > > However, I found it also possible to modify the existing AutoLocator > instances, since

[Matplotlib-users] reduce the number of ticks

2014-02-17 Thread Pierre Haessig
Hi, In order to get a plot with a small number of ticks, it is possible to create a matplotlib.ticker.MaxNLocator object with a small value for `nbins`. However, I found it also possible to modify the existing AutoLocator instances, since AutoLocator derives from MaxNLocator : ax.xaxis.major.loc