coords.Coords.yz#
- property Coords.yz#
Return the Y- and Z-coordinates of all points.
Returns#
- numpy.ndarray
A view on the Y- and Z-coordinates of all points, with shape equal to
self.shapeexcept the last axis has size 2.
Notes#
The returned array is a view on the data, not a copy. Modifying it will change the underlying
Coords.Examples#
>>> X = Coords(np.arange(6).reshape(2, 3)) >>> print(X.yz) [[1. 2.] [4. 5.]]