diff --git a/skimage/graph/rag.py b/skimage/graph/rag.py index 807e8cd3..17c8cab8 100644 --- a/skimage/graph/rag.py +++ b/skimage/graph/rag.py @@ -56,8 +56,8 @@ class RAG(nx.Graph): Function to decide edge weight of edges incident on the new node. For each neighbor `n` for `src and `dst`, `weight_func` will be called as follows: `weight_func(src, dst, n, *extra_arguments, - **extra_keywords)`. `src`, `dst` and `n` are IDs of vertices in a - .. py:class:: RAG object which is in turn a subclass of + **extra_keywords)`. `src`, `dst` and `n` are IDs of vertices in the + RAG object which is in turn a subclass of `networkx.Graph`. extra_arguments : sequence, optional The sequence of extra positional arguments passed to