Landmark.y#

property Landmark.y: float#

The y-coordinate of an embedded vertex

Raises:

ValueError – the vertex has no coordinate

Returns:

The y-coordinate

Return type:

float

>>> from pgraph import Vertex
>>> v = Vertex(coord=[1,2], name='v1')
>>> print(v.y)
2