Fixed doctest

This commit is contained in:
Vighnesh Birodkar
2014-08-05 23:43:07 +05:30
parent 95b20adee7
commit adeb8689af
+1 -1
View File
@@ -289,7 +289,7 @@ def draw_rag(labels, rag, img, border_color=None, node_color='yellow',
>>> img = data.coffee()
>>> labels = segmentation.slic(img)
>>> g = graph.rag_mean_color(img, labels)
>>> out = graph.rag_draw(labels, g, img)
>>> out = graph.draw_rag(labels, g, img)
"""
rag = rag.copy()
out = util.img_as_float(img)