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)