get_plot_data#
- EdbNets.get_plot_data(nets=None, layers=None, color_by_net=False, outline=None, plot_components_on_top=False, plot_components_on_bottom=False)[source]#
Return List of points for Matplotlib 2D Chart.
- Parameters:
- nets
str
,list
,optional
Name of the net or list of nets to plot. If None (default value) all nets will be plotted.
- layers
str
,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. IfFalse
the plot will be colored by layer. (default)- outline
list
,optional
List of points of the outline to plot.
- plot_components_on_topbool,
optional
If
True
the components placed on top layer are plotted. IfFalse
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. IfFalse
the components are not plotted. (default) If nets and/or layers is specified, only the components belonging to the specified nets/layers are plotted.
- nets
- Returns:
List
, str:list
of
data
to
be
used
in
plot.In case of remote session it will be returned a string that could be converted to list using ast.literal_eval().