Problem with unvisible tick labels when x<10000

Hi,

I have a bug when I want to turn off the tick labels on subplots where upper limits reaches 10000: the "magnitude" string (x1e4) doesn't get erased. Example:

from pylab import *

ax1 = subplot(2,2,1)
plot(arange(0,11000,1000),arange(0,11000,1000))
setp(ax1.get_xticklabels(), visible=False)

ax2 = subplot(2,2,2)
plot(arange(0,11000,1000),arange(0,11000,1000),'--')
setp(ax2.get_xticklabels(), visible=False)
setp(ax2.get_yticklabels(), visible=False)

ax3 = subplot(2,2,3)
plot(arange(0,11000,1000),arange(0,11000,1000),':')

ax4 = subplot(2,2,4)
plot(arange(0,11000,1000),arange(0,11000,1000),'-.')
setp(ax4.get_yticklabels(), visible=False)

show()

As a quick fix (at least for the xticklabels), I can compact the subplots together (e.g. subplots_adjust(hspace=0.05) so that the extra magnitude string is hidden.

Thanx for the very nice matplotlib work!

···

--
   .~. Yannick COPIN (o:>* Doctus cum libro
   /V\ ---===<<<### NOT IN THE OFFICE ###>>>===---
  // \\ Institut de physique nucleaire de Lyon (IN2P3 - France)
/( )\ http://snovae.in2p3.fr/ycopin/
  ^`~'^