Chnaged palette in example

This commit is contained in:
Vighnesh Birodkar
2014-08-15 14:11:53 +05:30
parent 5c5b60df4c
commit cfaa83cf26
+2
View File
@@ -18,6 +18,7 @@ out = graph.draw_rag(labels, g, img)
plt.figure()
plt.title("RAG with all edges shown in green.")
plt.imshow(out)
io.imsave("/home/vighnesh/Desktop/1.png")
# The color palette used was taken from
# http://www.colorcombos.com/color-schemes/2/ColorCombo2.html
@@ -28,5 +29,6 @@ plt.figure()
plt.title("RAG with edge weights less than 30, color "
"mapped between green and red.")
io.imsave("/home/vighnesh/Desktop/2.png")
plt.imshow(out)
plt.show()