cartopy.mpl.patch.geos_to_path#

cartopy.mpl.patch.geos_to_path(shape)[source]#

Create a list of matplotlib.path.Path objects that describe a shape.

Deprecated since version 0.25: Use cartopy.mpl.path.shapely_to_path instead.

Parameters:

shape

A list, tuple or single instance of any of the following types:

Returns:

paths – A list of matplotlib.path.Path objects.