Yes, I did indeed. Is it sufficient replace the matplotlib directory under the scisoft/ with the one available from the site (0.98.0) to update it? I also noticed that the available Fink package is also the matplotlib-0.91.0.
Thanks, Nino Manuel Metz wrote: > Antonino Cucchiara wrote: > >> 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 >> >> > > I guess that you installed matplotlib v0.91.x via scisoft !? The keyword > "histtype" was introduced in 0.98.0, so you can't use it on your system. > > Manuel > > ------------------------------------------------------------------------- > 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 > -- 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