cartopy.mpl.path.shapely_to_path#
- cartopy.mpl.path.shapely_to_path(shape)[source]#
Create a
matplotlib.path.Path
object that describes a shape.- Parameters:
shape –
shapely.Point
,shapely.LineString
,shapely.LinearRing
,shapely.Polygon
,shapely.MultiPoint
,shapely.MultiPolygon
,shapely.MultiLineString
,shapely.GeometryCollection
.- Returns:
path –
matplotlib.path.Path