odc.geo.xy_
- odc.geo.xy_(x: T, y: T, /) XY[T] [source]
- odc.geo.xy_(x: XY[T], y: Literal[None] = None, /) XY[T]
- odc.geo.xy_(x: SupportsCoords[T], y: Literal[None] = None, /) XY[T]
- odc.geo.xy_(x: Iterable[T], y: Literal[None] = None, /) XY[T]
Construct from X,Y order.
xy_(0, 1) xy_([0, 1]) xy_(tuple([0, 1])) assert xy_(1, 3).x == 1 assert xy_(1, 3).y == 3