pyleecan.Methods.Machine.LamSquirrelCage.plot_side module

plot_side(self, fig=None, ax=None, is_show_fig=True, save_path=None)[source]

Plot the side view of the Lamination in a matplotlib fig (Z axis left to right)

Parameters:
  • self (LamSquirrelCage) – A LamSquirrelCage 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_show_fig (bool) – To call show at the end of the method

  • save_path (str) – full path including folder, name and extension of the file to save if save_path is not None

Returns:

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

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