plot#

EdbNets.plot(nets=None, layers=None, color_by_net=False, show_legend=True, save_plot=None, outline=None, size=(2000, 1000), plot_components_on_top=False, plot_components_on_bottom=False)[source]#

Plot a Net to Matplotlib 2D Chart.

Parameters:
netsstr, list, optional

Name of the net or list of nets to plot. If None all nets will be plotted.

layersstr, list, optional

Name of the layers to include in the plot. If None all the signal layers will be considered.

color_by_netbool, optional

If True the plot will be colored by net. If False the plot will be colored by layer. (default)

show_legendbool, optional

If True the legend is shown in the plot. (default) If False the legend is not shown.

save_plotstr, optional

If None the plot will be shown. If a file path is specified the plot will be saved to such file.

outlinelist, optional

List of points of the outline to plot.

sizetuple, int, optional

Image size in pixel (width, height). Default value is (2000, 1000)

plot_components_on_topbool, optional

If True the components placed on top layer are plotted. If False the 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 True the components placed on bottom layer are plotted. If False the components are not plotted. (default) If nets and/or layers is specified, only the components belonging to the specified nets/layers are plotted.