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_polygon(self):
      g = geometry.Point(0, 1).buffer(1.0)
      h = transform(lambda x, y, z=None: (x + 1.0, y + 1.0), g)
      assert h.geom_type == "Polygon"
      assert g.area == pytest.approx(h.area)
      assert h.centroid.x == pytest.approx(1.0)
      assert h.centroid.y == pytest.approx(2.0)
  
file_path: shapely/shapely/tests/legacy/test_transform.py
imports: import unittest
  import pytest
  from shapely import geometry
  from shapely.ops import transform
label_desc: Use image node_id 3 for calling the LambdaTestCase obj's underlying member method code with example usage: obj.test_polygon() without return types