From 6928e5d9ef3c85fbd18ed6f008d55007947e4f36 Mon Sep 17 00:00:00 2001 From: Vighnesh Birodkar Date: Tue, 29 Jul 2014 03:15:24 +0530 Subject: [PATCH] Corrected docstrings --- skimage/graph/rag.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/skimage/graph/rag.py b/skimage/graph/rag.py index d01d6e12..9368f558 100644 --- a/skimage/graph/rag.py +++ b/skimage/graph/rag.py @@ -251,15 +251,15 @@ def rag_draw(labels, rag, img, border_color=(0, 0, 0), node_color = (1, 1, 0), ---------- labels : ndarray, shape(M, N, [..., P,]) The labelled image. This should have one dimension less than - `img`. If `image` has dimensions `(M, N, 3)` `labels` should have + `img`. If `img` has dimensions `(M, N, 3)` `labels` should have dimensions `(M, N)`. rag : RAG The Region Adjacency Graph. img : ndarray, shape(M, N, [..., P,] 3) Input image. border_color : length-3 sequence, optional - RGB color of the corder of regions. Specifying `None` won't draw - the border. + RGB color of the border of regions. Specifying `None` won't draw + the border. Black by default. node_color : length-3 sequeunce, optional RGB color of the centroid of nodes. Yellow by default. low_color : length-3 sequeunce, optional