uxarray.UxDataArray.to_polycollection

uxarray.UxDataArray.to_polycollection#

UxDataArray.to_polycollection(**kwargs)#

Constructs a matplotlib.collections.PolyCollection` consisting of polygons representing the faces of the current UxDataArray with a face-centered data variable mapped to them.

Parameters:

**kwargs (dict) – Key word arguments to pass into the construction of a PolyCollection