I find it incredibly hard to work with tick labels in matplotlib (on matplotlib 0.98 @ OS X 10.5.4) (It might well be that I haven't stumbled across the right solution yet and it is really easy ). I want to first of all change the axis so it displays the normal number as ticks and not 0, 1 ,2 ,3 + 6.35e5 or something. I managed that by reading the ticks and then converting it to strings and use the set_ticklabels to get that. The second thing is that I want to make the font smaller, e. g. to 'x-small' at the moment I am using a for loop to loop through all xticklabels which is allright but imho looks to complicated to do something as simple as that.
I also want to change the padding between the axis and the labels, but all my attempts at finding the set_pad method have failed because none of the axis objects I could think of had that method.
So here's my workaround for the first two things (each subplot is one small window of 6 subplots):
#preparing the subplots()
for i in range(6):
for i,line in enumerate(line_data):
for ilabel in subplots[i].axes.get_xticklabels():
Oh and while I'm at it: Is there a function that plots a two dimensional array?
Thanks in advance
P.S.: I already looked through the mailing list for the padding issue but it only mentioned set_pad which I could not find