From: Gökhan S. <gok...@gm...> - 2009-09-27 03:15:02
|
On Sat, Sep 26, 2009 at 9:58 PM, Jae-Joon Lee <lee...@gm...> wrote: > As specified in the doc > > > http://matplotlib.sourceforge.net/api/axis_api.html?highlight=get_majorticklabels#matplotlib.axis.Axis.get_majorticklabels > > it returns a list of Text instances. You may use > > > http://matplotlib.sourceforge.net/api/artist_api.html#matplotlib.text.Text.get_text > > to retrieve the strings associated. > For example, > > [t.get_text() for t in ax.xaxis.get_majorticklabels()] > > -JJ > Yes, got it. Thanks. |