diff options
| author | Jarrod Millman <jarrod.millman@gmail.com> | 2017-07-21 08:50:40 -0700 |
|---|---|---|
| committer | Dan Schult <dschult@colgate.edu> | 2017-07-21 11:50:40 -0400 |
| commit | 1e6df4c105fa7a1e442da72ddb009bb253dc7d4e (patch) | |
| tree | d728526ccca673a762f90f174223cb558c86e02d /examples/drawing/plot_random_geometric_graph.py | |
| parent | 7be0d8f33b46d37264ae181cb2a9fadb310fe687 (diff) | |
| download | networkx-1e6df4c105fa7a1e442da72ddb009bb253dc7d4e.tar.gz | |
Refactor examples (#2527)
* Fix unix_email and plot more examples
* Fix doctest
* Fix more examples
* Fix AntiGraph.degree generator error in examples
* Style/consistency changes and plot more examples
Diffstat (limited to 'examples/drawing/plot_random_geometric_graph.py')
| -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 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 |
