mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-15 11:25:53 +08:00
Chnaged palette in example
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user