plot (method)

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

Plot the Surface patch in a matplotlib fig

  • self (Surface) – A Surface object
  • fig – if None, open a new fig and plot, else add to the current one (Default value = None)
  • color – the color of the patch (Default value = PATCH_COLOR)
  • edgecolor – the edge color 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

Return type: