From e167be511d7a2f2ae481952e9db2248cfdf1b685 Mon Sep 17 00:00:00 2001 From: Martin Zackrisson Date: Mon, 30 May 2016 11:25:55 +0200 Subject: [PATCH] Corrected indentation to follow PEP8 --- skimage/filters/thresholding.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skimage/filters/thresholding.py b/skimage/filters/thresholding.py index d21bd579..285af6d4 100644 --- a/skimage/filters/thresholding.py +++ b/skimage/filters/thresholding.py @@ -134,8 +134,8 @@ def threshold_otsu(image, nbins=256): # Check if the image is multi-colored or not if image.min() == image.max(): raise ValueError("threshold_otsu is expected to work with images " \ - "having more than one color. The input image seems " \ - "to have just one color {0}.".format(image.min())) + "having more than one color. The input image seems " \ + "to have just one color {0}.".format(image.min())) hist, bin_centers = histogram(image.ravel(), nbins) hist = hist.astype(float)