plot#
- Stackup.plot(save_plot=None, size=(2000, 1500), plot_definitions=None, first_layer=None, last_layer=None, scale_elevation=True)[source]#
Plot current stackup and, optionally, overlap padstack definitions. Plot supports only ‘Laminate’ and ‘Overlapping’ stackup types.
- Parameters:
- save_plot
str
,optional
If
None
the plot will be shown. If a file path is specified the plot will be saved to such file.- size
tuple
,optional
Image size in pixel (width, height). Default value is
(2000, 1500)
- plot_definitions
str
,list
,optional
List of padstack definitions to plot on the stackup. It is supported only for Laminate mode.
- first_layer
str
orpyaedt.edb_core.edb_data.layer_data.LayerEdbClass
First layer to plot from the bottom. Default is None to start plotting from bottom.
- last_layer
str
orpyaedt.edb_core.edb_data.layer_data.LayerEdbClass
Last layer to plot from the bottom. Default is None to plot up to top layer.
- scale_elevationbool,
optional
The real layer thickness is scaled so that max_thickness = 3 * min_thickness. Default is True.
- save_plot
- Returns:
matplotlib.plt