get_patches (method)

get_patches(self, color='w', edgecolor='k', is_edge_only=False, linestyle=None)[source]

Returns the Circle Patch to be display in matplotlib

Parameters:
  • self (Circle) – a Circle object
  • color – the color of the Patch (Default value = PATCH_COLOR)
  • edgecolor – edgecolor of the Patch (Default value = PATCH_EDGE)
  • is_edge_only (bool) – To set the transparancy of the face color to 0 and 1 for the edge color
  • linestyle (str) – Line style of the edge {‘-‘, ‘–’, ‘-.’, ‘:’, ‘’, (offset, on-off-seq), …}
Returns:

patch_list – List of patches corresponding to the surface

Return type:

list of matplotlib.patches.Circle