/ Published in: Python
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
nodes =[n for n in g.nodes if n.image >''] >>> nodes [v2, v3] >>> for node in nodes: node.width, node.height = 640, 480 >>>