From 89e6215241d4ba06e32b83539b1e0ddcf1f3face Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jostein=20B=C3=B8=20Fl=C3=B8ystad?= Date: Sun, 9 Jun 2013 21:32:38 +0200 Subject: [PATCH] Radon transform example: Remove semicolons. --- doc/examples/plot_radon_transform.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/examples/plot_radon_transform.py b/doc/examples/plot_radon_transform.py index a4c90955..b4b9721d 100644 --- a/doc/examples/plot_radon_transform.py +++ b/doc/examples/plot_radon_transform.py @@ -31,21 +31,21 @@ image = rescale(image, scale=0.4) plt.figure(figsize=(8, 8.5)) plt.subplot(221) -plt.title("Original"); +plt.title("Original") plt.imshow(image, cmap=plt.cm.Greys_r) plt.subplot(222) projections = radon(image, theta=[0, 45, 90]) -plt.plot(projections); +plt.plot(projections) plt.title("Projections at\n0, 45 and 90 degrees") -plt.xlabel("Projection axis"); -plt.ylabel("Intensity"); +plt.xlabel("Projection axis") +plt.ylabel("Intensity") projections = radon(image) plt.subplot(223) -plt.title("Radon transform\n(Sinogram)"); -plt.xlabel("Projection angle (degrees)"); -plt.ylabel("Projection axis"); +plt.title("Radon transform\n(Sinogram)") +plt.xlabel("Projection angle (degrees)") +plt.ylabel("Projection axis") plt.imshow(projections, aspect='auto') reconstruction = iradon(projections)