Formatting

This commit is contained in:
Vighnesh Birodkar
2014-08-15 14:07:58 +05:30
parent 39dfcc4144
commit f4aa0fc8e1
2 changed files with 31 additions and 24 deletions
+4 -3
View File
@@ -1,4 +1,4 @@
from skimage import graph, data, io, segmentation, color
from skimage import graph, data, segmentation
from matplotlib import pyplot as plt
@@ -13,9 +13,10 @@ plt.figure()
plt.title("RAG with all edges shown in green.")
plt.imshow(out)
out = graph.rag.rag_draw(labels, g, img, high_color=(1,0,0), thresh=30)
out = graph.rag.rag_draw(labels, g, img, high_color=(1, 0, 0), thresh=30)
plt.figure()
plt.title("RAG with edge weights less than 30, color mapped between green and red.")
plt.title("RAG with edge weights less than 30,\
color mapped between green and red.")
plt.imshow(out)
plt.show()