|
From: marc s. <m_s...@ho...> - 2004-03-30 09:21:52
|
Just installed matplotlib and tried an example from the homepage:
Python 2.3.3 (#2, Mar 12 2004, 16:09:39)
[GCC 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>import matplotlib.matlab
Numeric import failed... trying numarray.
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/local/lib/python2.3/site-packages/matplotlib/matlab.py", line
126, in ?
from axes import Axes
File "/usr/local/lib/python2.3/site-packages/matplotlib/axes.py", line
244, in ?
class Axes(Artist):
File "/usr/local/lib/python2.3/site-packages/matplotlib/axes.py", line
814, in Axe s
def imshow(self, X, cmap = Grayscale(256)):
File "/usr/local/lib/python2.3/site-packages/matplotlib/colors.py", line
213, in _ _init__
Colormap.__init__(self, N, 'gray')
File "/usr/local/lib/python2.3/site-packages/matplotlib/colors.py", line
96, in __ init__
self._make_red()
File "/usr/local/lib/python2.3/site-packages/matplotlib/colors.py", line
118, in _ make_red
self.red = 1.0/self.N*arange(self.N, typecode=Float)
TypeError: arange() got an unexpected keyword argument 'typecode'
Why is this?
Any suggestions?
thanks,
marc
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
|