NetworkPlotter.draw_nodes
-
NetworkPlotter.
draw_nodes
(keys=None, radius=None, text=None, facecolor=None, edgecolor=None, edgewidth=None, textcolor=None, fontsize=None, picker=None)[source] Draws the network nodes.
- Parameters
keys (list) – The keys of the nodes to plot.
radius ({float, dict}) – A list of radii for the nodes.
text ({{‘index’, ‘key’}, str, dict}) – Strings to be displayed on the nodes.
facecolor ({color, dict}) – Color for the node circle fill.
edgecolor ({color, dict}) – Color for the node circle edge.
edgewidth ({float, dict}) – Width for the node circle edge.
textcolor ({color, dict}) – Color for the text to be displayed on the nodes.
fontsize ({int, dict}) – Font size for the text to be displayed on the nodes.
- Returns
object – The matplotlib point collection object.