Hi,
 I am not well versed in numpy and hence not able to resolve an error
(probably syntactical) in the example code delaunay_graph.py. The code can
be found here
http://code.enthought.com/projects/mayavi/docs/development/html/mayavi/auto/example_delaunay_graph.html#example-delaunay-graph
).

The error occurs on this line

start_idx, end_idx, _ = np.array(list(nx.mst(g))).T


in function main.  I get "ValueError: too many values to unpack".  A bit of
debugging reveals that the right hand side is of type ndarray.

Would appreciate any help resolve this.

Thanks
Sandeep
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
MayaVi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to