Remove ticklines but keep labels

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.

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.reid@...1974...> 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
matplotlib-users List Signup and Options