asarray#

DataXY.asarray(copy=False)[source]#

Return a 2d ndarray of the data.

Returns:
datandarray, shape (2, N)

data[0] corresponds to x, data[1] to y.