uxarray.Grid.to_linecollection#
- Grid.to_linecollection(override=False, cache=True)#
Constructs a
matplotlib.collections.LineCollection
object with line segments representing the geometry of the unstructured grid, corrected near the antimeridian.- Parameters:
- Returns:
line_collection – The output LineCollection containing faces represented as polygons
- Return type: