diff --git a/skimage/graph/__init__.py b/skimage/graph/__init__.py index 29bcb031..6da4fcc8 100644 --- a/skimage/graph/__init__.py +++ b/skimage/graph/__init__.py @@ -1,9 +1,7 @@ from .spath import shortest_path from .mcp import MCP, MCP_Geometric, MCP_Connect, MCP_Flexible, route_through_array -from .rag import rag_mean_color, RAG from .graph_cut import cut_threshold, cut_normalized from .rag import rag_mean_color, RAG, draw_rag -from .graph_cut import cut_threshold ncut = cut_normalized diff --git a/skimage/graph/rag.py b/skimage/graph/rag.py index e1ab79ca..74e4ab07 100644 --- a/skimage/graph/rag.py +++ b/skimage/graph/rag.py @@ -22,7 +22,6 @@ except ImportError: pass - def min_weight(graph, src, dst, n): """Callback to handle merging nodes by choosing minimum weight.