uxarray.Grid.to_polycollection#
- Grid.to_polycollection(override=False, cache=True, correct_antimeridian_polygons=True)#
Constructs a
matplotlib.collections.PolyCollection
object with polygons representing the geometry of the unstructured grid, with polygons that cross the antimeridian split.- Parameters:
- Returns:
polycollection (matplotlib.collections.PolyCollection) – The output PolyCollection containing faces represented as polygons
corrected_to_original_faces (list) – Original indices used to map the corrected polygon shells to their entries in face nodes