From cfaa83cf26f3d12f0454b1a62e41fabc0e76a63b Mon Sep 17 00:00:00 2001 From: Vighnesh Birodkar Date: Fri, 15 Aug 2014 02:33:09 +0530 Subject: [PATCH] Chnaged palette in example --- doc/examples/plot_rag_draw.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/examples/plot_rag_draw.py b/doc/examples/plot_rag_draw.py index bb8042d8..49bdf42c 100644 --- a/doc/examples/plot_rag_draw.py +++ b/doc/examples/plot_rag_draw.py @@ -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()