File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ def vertex_xyz(self):
8989 The view coordinates default to the actual mesh coordinates.
9090 """
9191 if not self ._vertex_xyz :
92- self . _vertex_xyz = {vertex : self .mesh .vertex_attributes (vertex , 'xyz' ) for vertex in self .mesh .vertices ()}
92+ return {vertex : self .mesh .vertex_attributes (vertex , 'xyz' ) for vertex in self .mesh .vertices ()}
9393 return self ._vertex_xyz
9494
9595 @vertex_xyz .setter
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ def node_xyz(self):
6363 The view coordinates default to the actual node coordinates.
6464 """
6565 if not self ._node_xyz :
66- self . _node_xyz = {node : self .network .node_attributes (node , 'xyz' ) for node in self .network .nodes ()}
66+ return {node : self .network .node_attributes (node , 'xyz' ) for node in self .network .nodes ()}
6767 return self ._node_xyz
6868
6969 @node_xyz .setter
You can’t perform that action at this time.
0 commit comments