it also works for me for 1.2.0
In [1]: mat.__version__
Out[1]: '1.2.0'

In [2]: plot(np.arange(5),'ro')
Out[2]: [<matplotlib.lines.Line2D at 0xc88262c>]

In [3]: ax = gca()

In [4]: ax.set_xticklabels('abcdefghij')
Out[4]: 
[<matplotlib.text.Text at 0xbbb048c>,
 <matplotlib.text.Text at 0xbbb0c8c>,
 <matplotlib.text.Text at 0xc88780c>,
 <matplotlib.text.Text at 0xc887e2c>,
 <matplotlib.text.Text at 0xc88b4cc>,
 <matplotlib.text.Text at 0xc88bb4c>,
 <matplotlib.text.Text at 0xc8911ec>,
 <matplotlib.text.Text at 0xc89186c>,
 <matplotlib.text.Text at 0xc891eec>]

In [5]: [t.get_text() for t in ax.get_xticklabels()]
Out[5]: ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i']





--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/ticklabels-tp40656p40663.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to