get_patch (method)

get_patch(self, color='w', edgecolor='K')[source]

Returns the Trapeze Patch to be display in matplotlib

Parameters:
  • self (Trapeze) – a Trapeze object
  • color – the color of the patch (Default value = PATCH_COLOR)
  • edgecolor – the color of the patch’s edges (Default value = PATCH_EDGE)
Returns:

patch – The patch corresponding to the surface

Return type:

matplotlib.patches.Polygon