summaryrefslogtreecommitdiff
path: root/examples/drawing/plot_random_geometric_graph.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/drawing/plot_random_geometric_graph.py')
-rw-r--r--examples/drawing/plot_random_geometric_graph.py2
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 b234d103..5b9094ed 100644
--- a/examples/drawing/plot_random_geometric_graph.py
+++ b/examples/drawing/plot_random_geometric_graph.py
@@ -6,8 +6,8 @@ Random Geometric Graph
Example
"""
-import networkx as nx
import matplotlib.pyplot as plt
+import networkx as nx
G = nx.random_geometric_graph(200, 0.125)
# position is stored as node attribute data for random_geometric_graph