Yves Revaz wrote:
Hi all,
How is it possible to display by default the minor ticks with an
interval 5 times
smaller than the major ticks.
I can do that for a known range of data : for example :
ax = pt.gca()
ax.xaxis.set_major_locator(MultipleLocator(10))
Hi all,
How is it possible to display by default the minor ticks with an
interval 5 times
smaller than the major ticks.
I can do that for a known range of data : for example :
ax = pt.gca()
ax.xaxis.set_major_locator(MultipleLocator(10))
ax.xaxis.set_minor_locator(MultipleLocator(10/5.))
but