mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-03 01:09:26 +08:00
pep8
This commit is contained in:
@@ -20,7 +20,7 @@ plt.title("RAG with all edges shown in green.")
|
||||
plt.imshow(out)
|
||||
|
||||
cmap = colors.ListedColormap(['#00ff00', '#ff0000'])
|
||||
out = graph.draw_rag(labels, g, img,colormap=cmap, thresh=30, desaturate=True)
|
||||
out = graph.draw_rag(labels, g, img, colormap=cmap, thresh=30, desaturate=True)
|
||||
plt.figure()
|
||||
plt.title("RAG with edge weights less than 30, color "
|
||||
"mapped between green and red.")
|
||||
|
||||
Reference in New Issue
Block a user