cartopy.mpl.patch.geos_to_path#
- cartopy.mpl.patch.geos_to_path(shape)[source]#
Create a list of
matplotlib.path.Pathobjects that describe a shape.Deprecated since version 0.25: Use
cartopy.mpl.path.shapely_to_pathinstead.- Parameters:
shape –
A list, tuple or single instance of any of the following types:
or any type with a _as_mpl_path() method.
- Returns:
paths – A list of
matplotlib.path.Pathobjects.