turn off decade ticks in log plots?

How can I turn off the decade ticks in the following simple example?

from pylab import *
x=(1,2,3,4,5)
y=(13, 22,19,26,32)
set_major_locator(NullLocator())
set_major_formatter(NullFormatter())
semilogy(x,y)
show()

I am building stock graphs with the library, but have not been able to
figure out how to turn off the decade tick marks. If its possible, any
advice on how to do this would be greatly appreciated.

···

--
Rick Albright
Senior Quantitvative Analyst
Indie Research, LLC
254 Witherspoon Street
Princeton, NJ 08542
(609)497-1030
ralbright@...1184...

Have you tried that ?
gca().yaxis.set_minor_locator(NullLocator())
Or maybe I don't understand what you're trying to do...

···

On Friday 14 July 2006 11:25, Richard Albright wrote:

from pylab import *
x=(1,2,3,4,5)
y=(13, 22,19,26,32)
set_major_locator(NullLocator())
set_major_formatter(NullFormatter())
semilogy(x,y)
show()