diff options
author | Jarrod Millman <jarrod.millman@gmail.com> | 2021-01-14 11:06:49 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-14 11:06:49 -0800 |
commit | 8104fd773f77213cf622b9213568c545c770af8d (patch) | |
tree | ab7d2251aa58d25ff0b7f96b681bee4f85bf6666 /examples | |
parent | cabd41d3c2a54db77ccd2c33146722ef804f9f11 (diff) | |
download | networkx-8104fd773f77213cf622b9213568c545c770af8d.tar.gz |
Remove unnecessary node_list from gallery example (#4505)
Diffstat (limited to 'examples')
-rw-r--r-- | examples/drawing/plot_random_geometric_graph.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/drawing/plot_random_geometric_graph.py b/examples/drawing/plot_random_geometric_graph.py index 24724007..6b7c95d3 100644 --- a/examples/drawing/plot_random_geometric_graph.py +++ b/examples/drawing/plot_random_geometric_graph.py @@ -28,7 +28,7 @@ for n in pos: p = dict(nx.single_source_shortest_path_length(G, ncenter)) plt.figure(figsize=(8, 8)) -nx.draw_networkx_edges(G, pos, nodelist=[ncenter], alpha=0.4) +nx.draw_networkx_edges(G, pos, alpha=0.4) nx.draw_networkx_nodes( G, pos, |