mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-09 12:51:42 +08:00
BUG: Fix Python 3 syntax error.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
from __future__ import print_function
|
||||
|
||||
import numpy as np
|
||||
from numpy.testing import *
|
||||
from skimage.transform import *
|
||||
@@ -20,7 +22,7 @@ def test_radon_iradon():
|
||||
delta = np.mean(np.abs(image - reconstructed))
|
||||
|
||||
if debug:
|
||||
print delta
|
||||
print(delta)
|
||||
import matplotlib.pyplot as plt
|
||||
f, (ax1, ax2) = plt.subplots(1, 2)
|
||||
ax1.imshow(image, cmap=plt.cm.gray)
|
||||
|
||||
Reference in New Issue
Block a user