From a28a9d42e8dc193b0e9ffeb2323462a12b11022e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Sch=C3=B6nberger?= Date: Sun, 31 Jan 2016 18:41:10 +0100 Subject: [PATCH] Fix warning in plot_swirl --- doc/examples/transform/plot_swirl.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/examples/transform/plot_swirl.py b/doc/examples/transform/plot_swirl.py index b93efe9f..117276db 100644 --- a/doc/examples/transform/plot_swirl.py +++ b/doc/examples/transform/plot_swirl.py @@ -72,9 +72,10 @@ from skimage.transform import swirl image = data.checkerboard() -swirled = swirl(image, rotation=0, strength=10, radius=120, order=2) +swirled = swirl(image, rotation=0, strength=10, radius=120) -fig, (ax0, ax1) = plt.subplots(1, 2, figsize=(8, 3), sharex=True, sharey=True, subplot_kw={'adjustable':'box-forced'}) +fig, (ax0, ax1) = plt.subplots(1, 2, figsize=(8, 3), sharex=True, sharey=True, + subplot_kw={'adjustable':'box-forced'}) ax0.imshow(image, cmap=plt.cm.gray, interpolation='none') ax0.axis('off')