plot#

EDBNetsData.plot(layers=None, show_legend=True, save_plot=None, outline=None, size=(6000, 3000), show=True, plot_vias=True)[source]#

Plot a net to Matplotlib 2D chart.

Parameters:
layersstr, list, optional

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

show_legendbool, optional

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

save_plotstr, optional

If a path is specified the plot will be saved in this location. If save_plot is provided, the show parameter is ignored.

outlinelist, optional

List of points of the outline to plot.

sizetuple, optional

Image size in pixel (width, height).

showbool, optional

Whether to show the plot or not. Default is True.

plot_viasbool, optional

Whether to plot vias or not. It may impact on performances. Default is True.