plot (method)

plot(self, fig=None, is_lam_only=False, sym=1, alpha=0, delta=0, is_edge_only=False, is_display=True)[source]

Plot the Lamination with empty Slots in a matplotlib fig

Parameters:
  • self (LamSlot) – A LamSlot object
  • fig – if None, open a new fig and plot, else add to the current one (Default value = None)
  • is_lam_only (bool) – True to plot only the lamination (No effect for LamSlot)
  • sym (int) – Symmetry factor (1= full machine, 2= half of the machine…)
  • alpha (float) – Angle for rotation [rad]
  • delta (complex) – Complex value for translation
  • is_edge_only (bool) – To plot transparent Patches
  • is_display (bool) – False to return the patches
Returns:

patches – List of Patches

Return type:

list