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


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to