In matplotlib, sometime the major-ticks are too close to each other in a loglog plot. Instead of setting them manually, can one use something similar to MaxNLocator to put ticks at n-locations in a log scale?
import numpy as np
import pylab as p
x=np.logspace(1,20,10)
fig=p.figure()
ax1=fig.add_subplot(121)
ax1.loglog(x,x,'o')
ax2=fig.add_subplot(122)
ax2.loglog(x,x,'o')
fig.show()

For each axis you could set a LogLocator: