From 9cbeeca0df1233bbd0530a94c24158313281a2d3 Mon Sep 17 00:00:00 2001 From: Juan Nunez-Iglesias Date: Tue, 3 Feb 2015 15:52:26 +1100 Subject: [PATCH] Update RAG doctest to use future --- skimage/future/graph/rag.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/skimage/future/graph/rag.py b/skimage/future/graph/rag.py index e3d52875ffb..9e882bae708 100644 --- a/skimage/future/graph/rag.py +++ b/skimage/future/graph/rag.py @@ -251,7 +251,8 @@ def rag_mean_color(image, labels, connectivity=2, mode='distance', Examples -------- - >>> from skimage import data, graph, segmentation + >>> from skimage import data, segmentation + >>> from skimage.future import graph >>> img = data.astronaut() >>> labels = segmentation.slic(img) >>> rag = graph.rag_mean_color(img, labels)