plotting without ticks -- bug?

Hi all,

I'm trying to get some figures ready, but I've encountered what may be a bug demonstrated by a trivial program:

from matplotlib.matlab import *

set(gca(),'XTicks',[]) # fails
#set(gca(),'XTicks',[]) # works

The traceback is:

astraw@...198...:~/src/py-play/matplotlib$ python
Traceback (most recent call last):
  File "", line 4, in ?
  File "/usr/lib/python2.3/site-packages/matplotlib/", line 1074, in plot
    try: lines = gca().plot(*args, **kwargs)
  File "/usr/lib/python2.3/site-packages/matplotlib/", line 1361, in plot
  File "/usr/lib/python2.3/site-packages/matplotlib/", line 426, in autoscale_view
    tup = self.xaxis.get_major_locator().autoscale()
  File "/usr/lib/python2.3/site-packages/matplotlib/", line 321, in autoscale
    raise NotImplementedError('Derived must override')
NotImplementedError: Derived must override

This trivial example works if I call set() after plot() although this is sometimes inconvenient. Is this a bug or are there some intricacies I'm not aware of?