Hello list, I am trying to run the "histogram_demo_extended.py" on my mac 10.5. I installed matplotlib through the scisoft package. The normal hist command works fine but when I tried to use "align" or "histtype" keyward I get this kind of error:
[Macintosh-2:~/optional/examples/pylab_examples] nino% ./histogram_demo_extended.py Traceback (most recent call last): File "./histogram_demo_extended.py", line 15, in <module> n, bins, patches = P.hist(x, 50, normed=1, histtype='stepfilled') File "/scisoft/i386/library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/pyplot.py", line 1633, in hist ret = gca().hist(*args, **kwargs) File "/scisoft/i386/library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/axes.py", line 5064, in hist p.update(kwargs) File "/scisoft/i386/library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/artist.py", line 394, in update raise AttributeError('Unknown property %s'%k) AttributeError: Unknown property histtype Can someone give me any advice? Thanks a lot in advance. nino -- Antonino Cucchiara PhD candidate Department of Astronomy&Astrophysics Penn State University website: www.astro.psu.edu/~cucchiara/ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users