From adeb8689afaeea1852cb3d0dd9ccf76c0ccb509a Mon Sep 17 00:00:00 2001 From: Vighnesh Birodkar Date: Tue, 5 Aug 2014 23:43:07 +0530 Subject: [PATCH] Fixed doctest --- skimage/graph/rag.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skimage/graph/rag.py b/skimage/graph/rag.py index f3c22f83..7e87a784 100644 --- a/skimage/graph/rag.py +++ b/skimage/graph/rag.py @@ -289,7 +289,7 @@ def draw_rag(labels, rag, img, border_color=None, node_color='yellow', >>> img = data.coffee() >>> labels = segmentation.slic(img) >>> g = graph.rag_mean_color(img, labels) - >>> out = graph.rag_draw(labels, g, img) + >>> out = graph.draw_rag(labels, g, img) """ rag = rag.copy() out = util.img_as_float(img)