Hi all,
Sometime in the past couple months, there's been a change in SVN that's
causing me problems when trying to hide tick labels. I think the problem is
related to the get_xticklabels()/get_yticklabels() methods of the Axes class,
in that they only return a list consisting of a single tick label no matter
how many there should be. I'm encountering this problem in SVN rev. 2706.
Here is some example code:
from pylab import *
# set up a plot
x = arange(5)
ax = subplot(111)
ax.plot(x, x)
# hide the first tick label on the x axis
xtl = ax.get_xticklabels()
xtl[0].set_visible(False)
print len(xtl)
ax.set_xlabel('foo')
show()
For me, no x tick labels are drawn, and the length of xtl is one instead of
the expected 9.
Can anyone reproduce this?
Mike