On Wed, Jul 1, 2009 at 3:25 PM, David Paulsen<david.paul...@duke.edu> wrote: > Script passed the previous error point, and a different error string this > time: > > File "3D_line_plot_ex.py", line 32, in <module> > ax.add_collection3d(poly, zs=zs, zdir='y') > > File > "/Library/Frameworks/Python.framework/Versions/4.2.30201/lib/python2.5/site- > packages/mpl_toolkits/mplot3d/axes3d.py", line 807, in add_collection3d > art3d.poly_collection_2d_to_3d(col, zs=zs, zdir=zdir) > > File > "/Library/Frameworks/Python.framework/Versions/4.2.30201/lib/python2.5/site- > packages/mpl_toolkits/mplot3d/art3d.py", line 369, in > poly_collection_2d_to_3d > segments_3d = paths_to_3d_segments(col.get_paths(), zs, zdir) > > File > "/Library/Frameworks/Python.framework/Versions/4.2.30201/lib/python2.5/site- > packages/mpl_toolkits/mplot3d/art3d.py", line 138, in paths_to_3d_segments > segments.append(path_to_3d_segment(path, pathz, zdir)) > > File > "/Library/Frameworks/Python.framework/Versions/4.2.30201/lib/python2.5/site- > packages/mpl_toolkits/mplot3d/art3d.py", line 122, in path_to_3d_segment > pathsegs = path.iter_segments(simplify=False, curves=False) > TypeError: iter_segments() got an unexpected keyword argument 'curves' >
Huh, that is a very interesting and unexpected point for the interpreter to complain. I have the same lines on installation and it works without any problem. One last idea, you could try to isolate your matplotlib installation from Enthought's distro and try again, while having a separate Python, too. Someone in the list with more experience might have more to say on this issue. ------------------------------------------------------------------------------ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users