ViewPoint.x#
- property ViewPoint.x: float#
The x-coordinate of an embedded vertex
- Raises:
ValueError – the vertex has no coordinate
- Returns:
The x-coordinate
- Return type:
float
>>> from pgraph import Vertex >>> v = Vertex(coord=[1,2], name='v1') >>> print(v.x) 1