from networkx import *
import matplotlib.pyplot as plt
G = Graph()
G.add_node(1)
pos = spring_layout(G)
nodes = draw_networkx_nodes(G, pos)
nodes.set_edgecolor('r')
draw_networkx_edges(G, pos)
plt.show()
How can one modify the outline color of a node In networkx?