TopologyDiagram.is_xy

TopologyDiagram.is_xy()[source]

Verify that a network lies in the XY plane.

Parameters:

network (Network) – A network object.

Returns:

bool – True if the Z coordinate of all vertices is zero. False otherwise.