Re: [Matplotlib-users] Minor tick labels

2010-07-03 Thread Ryan May
On Tue, Jun 29, 2010 at 7:16 AM, Bartosz Telenczuk wrote: > Hi all, > > I am trying to change the labels of minor ticks, but leave the labels of the > major ticks unchanged. To do this, I use the following function: > > ax = plt.subplot(111) > ax.set_xticks([1,3,5]) > ax.set_xticks([2,4], minor=T

[Matplotlib-users] Minor tick labels

2010-06-29 Thread Bartosz Telenczuk
Hi all, I am trying to change the labels of minor ticks, but leave the labels of the major ticks unchanged. To do this, I use the following function: ax = plt.subplot(111) ax.set_xticks([1,3,5]) ax.set_xticks([2,4], minor=True) ax.set_xticklabels(["a", "b"], minor=True) However, in result of th