pyleecan.Methods.Machine.LamSlotMulti.plot module

plot(self, fig=None, ax=None, is_lam_only=False, sym=1, alpha=0, delta=0, is_edge_only=False, edgecolor=None, is_add_arrow=False, is_display=True, is_show_fig=True, is_clean_plot=False, is_winding_connection=False)[source]

Plot the Lamination with empty Slots in a matplotlib fig

  • self (LamSlotMulti) – A LamSlotMulti object

  • fig (Matplotlib.figure.Figure) – existing figure to use if None create a new one

  • ax (Matplotlib.axes.Axes object) – Axis on which to plot the data

  • is_lam_only (bool) – True to plot only the lamination

  • 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

  • edgecolor – Color of the edges if is_edge_only=True

  • is_display (bool) – False to return the patches

  • is_show_fig (bool) – To call show at the end of the method

  • is_clean_plot (bool) – True to remove title, legend, axis (only machine on plot with white background)

  • is_winding_connection (bool) – True to display winding connections (not used)


  • fig (Matplotlib.figure.Figure) – Figure containing the plot

  • ax (Matplotlib.axes.Axes object) – Axis containing the plot