From def4ab8ccce26181ff19bbe080e9eb268607c2c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Boulogne?= Date: Sun, 6 Oct 2013 22:22:13 +0200 Subject: [PATCH] PEP8 --- doc/examples/plot_circular_elliptical_hough_transform.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/examples/plot_circular_elliptical_hough_transform.py b/doc/examples/plot_circular_elliptical_hough_transform.py index 4c148b39..e1c868fe 100755 --- a/doc/examples/plot_circular_elliptical_hough_transform.py +++ b/doc/examples/plot_circular_elliptical_hough_transform.py @@ -120,7 +120,7 @@ edges = filter.canny(image_gray, sigma=2.0, # The value is chosen in order to get a single high accumulator. # The threshold eliminates low accumulators accum = hough_ellipse(edges, accuracy=10, threshold=170, min_size=50) -accum.sort(key=lambda x:x[0]) +accum.sort(key=lambda x: x[0]) best = accum[-1] # Estimated parameters for the ellipse center_y = int(best[1])