Skip to content

Commit

Permalink
Update RAG doctest to use future
Browse files Browse the repository at this point in the history
  • Loading branch information
jni committed Feb 3, 2015
1 parent 0087758 commit 9cbeeca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion skimage/future/graph/rag.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9cbeeca

Please sign in to comment.