code: def test_polygonize_full_array_axis():
      lines = [
          LineString([(0, 0), (1, 1)]),
          LineString([(0, 0), (0, 1)]),
          LineString([(0, 1), (1, 1)]),
      ]
      arr = np.array([lines, lines])  # shape (2, 3)
      result = shapely.polygonize_full(arr, axis=1)
      assert len(result) == 4
      assert all(arr.shape == (2,) for arr in result)
      result = shapely.polygonize_full(arr, axis=0)
      assert len(result) == 4
      assert all(arr.shape == (3,) for arr in result)
  
imports: import numpy
  import pytest
  import shapely
  from shapely import Geometry, GeometryCollection, GEOSException, LinearRing, LineString, MultiLineString, MultiPoint, MultiPolygon, Point, Polygon
  from shapely.testing import assert_geometries_equal
  from shapely.tests.common import all_types, empty, empty_line_string, empty_point, empty_polygon, ignore_invalid, line_string, multi_point, point, point_z
label_desc: Use image node_id 41 for calling a global function with example usage: test_polygonize_full_array_axis() without return types