odc.geo.yx_

odc.geo.yx_(y: T, x: T, /) XY[T][source]
odc.geo.yx_(y: Iterable[T], x: Literal[None] = None, /) XY[T]
odc.geo.yx_(y: XY[T], x: Literal[None] = None, /) XY[T]

Construct from Y,X order.

yx_(0, 1)
yx_([0, 1])
yx_(tuple([0, 1]))
assert yx_(1, 3).x == 3
assert yx_(1, 3).y == 1
Return type

XY[TypeVar(T)]