From a58ce5b5719e89db676ae6070a45dff961871195 Mon Sep 17 00:00:00 2001 From: Tony S Yu Date: Tue, 11 Sep 2012 23:39:08 -0400 Subject: [PATCH] DOC: Add missing import in doctest --- skimage/graph/mcp.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/skimage/graph/mcp.py b/skimage/graph/mcp.py index 28843cbf..27b7062f 100644 --- a/skimage/graph/mcp.py +++ b/skimage/graph/mcp.py @@ -39,7 +39,9 @@ def route_through_array(array, start, end, fully_connected=True, Examples -------- + >>> import numpy as np >>> from skimage.graph import route_through_array + >>> >>> image = np.array([[1, 3], [10, 12]]) >>> image array([[ 1, 3],