class_docstr: New geometry/coordseq method 'xy' makes numpy interop easier
class_docstr_tok: ["New","geometry\/coordseq","method","'xy","'","makes","numpy","interop","easier"]
code: def test_arrays(self):
      x, y = LineString([(0, 0), (1, 1)]).xy
      assert len(x) == 2
      assert list(x) == [0.0, 1.0]
      assert len(y) == 2
      assert list(y) == [0.0, 1.0]
  
file_path: shapely/shapely/tests/geometry/test_coords.py
imports: import numpy
  import pytest
  from shapely import LineString
label_desc: Use image node_id 1 for calling the TestXY obj's underlying member method code with example usage: obj.test_arrays() without return types