From 1982a3246c9af702eafbcd1bdb43e84908fe8f6c Mon Sep 17 00:00:00 2001 From: Vighnesh Birodkar Date: Sat, 28 Jun 2014 01:32:55 +0530 Subject: [PATCH] Docstring changes. --- skimage/graph/rag.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/skimage/graph/rag.py b/skimage/graph/rag.py index be138e1e..c7b5c66d 100644 --- a/skimage/graph/rag.py +++ b/skimage/graph/rag.py @@ -13,9 +13,9 @@ def min_weight(g, src, dst, n): Parameters ---------- g : RAG - The graph to consider. + The graph under consideration. src, dst : int - Typically the verices in `g` to be merged. + The verices in `g` to be merged. n : int A neighbor of `src` or `dst` or both @@ -59,7 +59,7 @@ class RAG(nx.Graph): extra_arguments : sequence, optional The sequence of extra positional arguments passed to `weight_func`. - extra_keywords : + extra_keywords : dictionary, optional The dict of keyword arguments passed to the `weight_func`. """ @@ -85,9 +85,9 @@ class RAG(nx.Graph): def _add_edge_filter(values, g): - """Create edge in `g` between first element of `values` and the rest. + """Create edge in `g` between the first element of `values` and the rest. - Add an edge between first element in `values` and + Add an edge between the first element in `values` and all other elements of `values` in the graph `g`. `values[0]` is expected to be the central value of the footprint used.