plot#
- Stackup.plot(save_plot=None, size=(2000, 1500), plot_definitions=None, first_layer=None, last_layer=None, scale_elevation=True, show=True)[source]#
Plot current stackup and, optionally, overlap padstack definitions. Plot supports only ‘Laminate’ and ‘Overlapping’ stackup types.
- Parameters:
- save_plot
str
,optional
If a path is specified the plot will be saved in this location. If
save_plot
is provided, theshow
parameter is ignored.- 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
orpyedb.dotnet.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
orpyedb.dotnet.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.
- showbool,
optional
Whether to show the plot or not. Default is True.
- save_plot
- Returns:
matplotlib.plt