cartopy.mpl.patch.geos_to_path#
- cartopy.mpl.patch.geos_to_path(shape)[源代码]#
开列一张清单
matplotlib.path.Path描述形状的对象。- 参数:
shape -- 以下任何类型的列表、元组或单个实例:
shapely.geometry.point.Point,shapely.geometry.linestring.LineString,shapely.geometry.linestring.LinearRing,shapely.geometry.polygon.Polygon,shapely.geometry.multipoint.MultiPoint,shapely.geometry.multipolygon.MultiPolygon,shapely.geometry.multilinestring.MultiLineString,shapely.geometry.collection.GeometryCollection,或具有_as_mpl_路径()方法的任何类型。- 返回:
paths --列表
matplotlib.path.Path对象