From 15e079a8c2743eeaa303a347065a3e1e8f9cd44e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Sch=C3=B6nberger?= Date: Sat, 4 May 2013 11:46:07 +0200 Subject: [PATCH] Remove unused shear argument --- doc/examples/plot_matching.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/examples/plot_matching.py b/doc/examples/plot_matching.py index abed0ee9..0546d6f5 100644 --- a/doc/examples/plot_matching.py +++ b/doc/examples/plot_matching.py @@ -41,8 +41,7 @@ img_orig = rescale_intensity(img_orig) img_orig_gray = rgb2gray(img_orig) # warp synthetic image -tform = AffineTransform(scale=(0.9, 0.9), rotation=0.2, shear=0, - translation=(20, -10)) +tform = AffineTransform(scale=(0.9, 0.9), rotation=0.2, translation=(20, -10)) img_warped = warp(img_orig, tform.inverse, output_shape=(200, 200)) img_warped_gray = rgb2gray(img_warped)