plot#
- Nets3DLayout.plot(layers=None, show_legend=True, save_plot=None, outline=None, size=(1920, 1440), plot_components_on_top=False, plot_components_on_bottom=False, show=True)#
Plot a Net to Matplotlib 2D Chart.
- Parameters:
- layers
str,list,optional Name of the layers to include in the plot. If
Noneall the signal layers will be considered.- show_legendbool,
optional If
Truethe legend is shown in the plot. (default) IfFalsethe legend is not shown.- save_plot
str,optional If a path is specified the plot will be saved in this location. If
save_plotis provided, theshowparameter is ignored.- outline
list,optional List of points of the outline to plot.
- size
tuple,int,optional Image size in pixel (width, height). Default value is
(2000, 1000)- plot_components_on_topbool,
optional If
Truethe components placed on top layer are plotted. IfFalsethe components are not plotted. (default) If nets and/or layers is specified, only the components belonging to the specified nets/layers are plotted.- plot_components_on_bottombool,
optional If
Truethe components placed on bottom layer are plotted. IfFalsethe components are not plotted. (default) If nets and/or layers is specified, only the components belonging to the specified nets/layers are plotted.- showbool,
optional Whether to show the plot or not. Default is True.
- layers