strange bug

has anyone come across this bug?

from matplotlib.matlab import *

a = arange(10)

a.shape

(10,)

plot(a)

[<matplotlib.lines.Line2D instance at 0x4147712c>]

show()

this plot works ok but if we turn a into a one dimensional array then...

a.shape=(10,1)

a.shape

(10, 1)

plot(a)

Traceback (most recent call last):

  File "<stdin>", line 1, in ?

  File "/usr/lib/python2.3/site-packages/matplotlib/matlab.py", line 941, in plot

    try: lines = gca().plot(*args, **kwargs)

  File "/usr/lib/python2.3/site-packages/matplotlib/axes.py", line 1181, in plot

    self.yaxis.autoscale_view()

  File "/usr/lib/python2.3/site-packages/matplotlib/axis.py", line 405, in autoscale_view

    tup = self._majorTicker.locator.autoscale()

  File "/usr/lib/python2.3/site-packages/matplotlib/ticker.py", line 578, in autoscale

    self._locator = self.get_locator(d)

  File "/usr/lib/python2.3/site-packages/matplotlib/ticker.py", line 589, in get_locator

    fld = math.floor(ld)

TypeError: only rank-0 arrays can be converted to Python scalars.

···