pyleecan.Methods.Machine.CondType12.plot_schematics module¶
- plot_schematics(self, is_default=False, is_add_schematics=True, is_add_main_line=True, save_path=None, is_show_fig=True, fig=None, ax=None, is_single=False)[source]¶
Plot the schematics of the slot
- Parameters:
self (CondType12) – A CondType12 object
is_default (bool) – True: plot default schematics, else use current slot values
is_add_schematics (bool) – True to display the schematics information (W0, H0…)
is_add_main_line (bool) – True to display “main lines” (slot opening and 0x axis)
save_path (str) – full path including folder, name and extension of the file to save if save_path is not None
is_show_fig (bool) – To call show at the end of the method
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
- Returns:
fig (Matplotlib.figure.Figure) – Figure containing the plot
ax (Matplotlib.axes.Axes object) – Axis containing the plot