From a4bf278c5b811acea34fcdabae1bbb5dbe49c4ce Mon Sep 17 00:00:00 2001 From: Vighnesh Birodkar Date: Thu, 3 Jul 2014 00:26:22 +0530 Subject: [PATCH] Doctest Passing --- skimage/graph/graph_cut.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skimage/graph/graph_cut.py b/skimage/graph/graph_cut.py index a870ff9e..91d64aec 100644 --- a/skimage/graph/graph_cut.py +++ b/skimage/graph/graph_cut.py @@ -29,8 +29,8 @@ def cut_threshold(labels, rag, thresh): >>> from skimage import data, graph, segmentation >>> img = data.lena() >>> labels = segmentation.slic(img) - >>> rag = graph.rag_meancolor(img, labels) - >>> new_labels = graph.threshold_cut(labels, rag, 10) + >>> rag = graph.rag_mean_color(img, labels) + >>> new_labels = graph.cut_threshold(labels, rag, 10) References ----------