plot (method)

@package Methods.Slot.Hole.plot Hole plot methods @date Created on Thu Dec 17 13:45:37 2015 @copyright (C) 2015-2016 EOMYS ENGINEERING. @author pierre_b @todo unittest it

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

Plot the Hole in a matplotlib fig

  • 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)

Return type: