On Wed, Feb 24, 2010 at 8:48 PM, David Goldsmith <d_l_goldsm...@yahoo.com>wrote:

> Hi!  Sorry for the really elementary Q's but I'm not having much luck
> searching the User Guide:
>
> How do I turn all ticks off (i.e., the labels and the tick mark lines, on
> both axes)?
>
> Thanks!
>
> DG
>
>
>
Too dry but it is what you want:

I[77]: plt.plot(range(10))
O[77]: [<matplotlib.lines.Line2D object at 0xe976a6c>]

I[78]: ax = plt.gca()

I[85]: ax.xaxis.set_major_locator(pylab.NullLocator())

I[86]: ax.yaxis.set_major_locator(pylab.NullLocator())


>
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>



-- 
Gökhan
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to