plot (method)

plot(self, fig=None, display_magnet=True, is_show_fig=True)[source]

Plot the Hole in a matplotlib fig

Parameters
  • self (Hole) – A Hole object

  • fig – if None, open a new fig and plot, else add to the current one (Default value = None)

  • display_magnet (bool) – if True, plot the magnet inside the hole, if there is any (Default value = True)

Returns

Return type

None