There is no clear api to manage this. Try something like ax = gca() for t in ax.xaxis.get_major_ticks(): t.tick1On = False t.tick2On = False
-JJ On Wed, May 26, 2010 at 6:30 AM, John Reid <j.r...@mail.cryst.bbk.ac.uk> wrote: > Hi, > > This is probably easy to do but I didn't work it out from the > documentation so far. How do I remove the tick lines on a plot but keep > the labels? > > Thanks, > John. > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > ------------------------------------------------------------------------------ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users