aboutsummaryrefslogtreecommitdiff
path: root/final/connectedness/test_display.py
diff options
context:
space:
mode:
authorHolden Rohrer <holden.rohrer@gmail.com>2019-11-11 20:58:23 -0500
committerHolden Rohrer <holden.rohrer@gmail.com>2019-11-11 20:58:23 -0500
commit030fb928eeda3256c5e1243584511cc12230eb54 (patch)
treebb487166070d0b11f5595c8475bdebd914d5522c /final/connectedness/test_display.py
parentd378c055cfb3317f0bfbb4f21255e881d9ee2f74 (diff)
parent8c5df53fa24f117311a7a3da4553e0b245ec1b56 (diff)
Merge branch 'master' of https://github.com/feynmansfedora/appcomb-proj
Diffstat (limited to 'final/connectedness/test_display.py')
-rw-r--r--final/connectedness/test_display.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/final/connectedness/test_display.py b/final/connectedness/test_display.py
new file mode 100644
index 0000000..3b45d59
--- /dev/null
+++ b/final/connectedness/test_display.py
@@ -0,0 +1,8 @@
+from matplotlib import pyplot as plt
+import networkx as nx
+
+G = nx.random_geometric_graph(200, 0.125)
+
+nx.draw(G, node_size = 20)
+plt.savefig("graph.png")
+plt.show() \ No newline at end of file