From 2a6e7ffdfcaa916557da2e65ad23d3789d430dbd Mon Sep 17 00:00:00 2001 From: John Wiggins Date: Fri, 28 Aug 2015 22:17:21 +0200 Subject: [PATCH] Replace cubehelix with the viridis colormap in the RAG drawing example --- doc/examples/plot_rag_draw.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/examples/plot_rag_draw.py b/doc/examples/plot_rag_draw.py index bdc39678..bc56b09f 100644 --- a/doc/examples/plot_rag_draw.py +++ b/doc/examples/plot_rag_draw.py @@ -31,8 +31,8 @@ plt.title("RAG with edge weights less than 30, color " plt.imshow(out) plt.figure() -plt.title("All edges drawn with cubehelix colormap") -cmap = plt.get_cmap('cubehelix') +plt.title("All edges drawn with viridis colormap") +cmap = plt.get_cmap('viridis') out = graph.draw_rag(labels, g, img, colormap=cmap, desaturate=True)