From 332469c6df8fcb0d3151b457a76abccb1c136c1b Mon Sep 17 00:00:00 2001 From: Juan Nunez-Iglesias Date: Mon, 4 Mar 2013 01:24:26 +1100 Subject: [PATCH] Fix missed rename in example --- doc/examples/applications/plot_coins_segmentation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/examples/applications/plot_coins_segmentation.py b/doc/examples/applications/plot_coins_segmentation.py index 943c57fb..0d1d8a34 100644 --- a/doc/examples/applications/plot_coins_segmentation.py +++ b/doc/examples/applications/plot_coins_segmentation.py @@ -91,7 +91,7 @@ Small spurious objects are easily removed by setting a minimum size for valid objects. """ from skimage import morphology -coins_cleaned = morphology.remove_small_connected_components(fill_coins, 21) +coins_cleaned = morphology.remove_small_objects(fill_coins, 21) plt.figure(figsize=(4, 3)) plt.imshow(coins_cleaned, cmap=plt.cm.gray, interpolation='nearest')