I just noticed something else now: When tick labels are explicitly supplied, that may not actually reflect in the return result of get_ticks. Specifically, I set the tick labels in a color bar, but get_ticklabels() returns a list of empty text objects Text(0,0,''). For regular axes, that seems to work better.
Bug? Cheers, Nico On Sat, May 8, 2010 at 10:36 AM, Nico Schlömer <nico.schloe...@gmail.com> wrote: > Hi, > > say, is there a way to query an axis object whether or not the tick > labels are drawn? > > I looked at -- one the x-axis -- get_xticks( and get_xticklabels() > which in two different situations would spit out a list of doubles > (the tick positions) and a list of text entries of the form > Text(0,0,''). In one plot, though, the tick labels are drawn, not in > the other one. > > Cheers, > Nico > ------------------------------------------------------------------------------ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users