changed f to fig

This commit is contained in:
Siva Prasad Varma
2014-03-19 17:18:33 +05:30
parent febb4f09ca
commit a89dd4dedd
26 changed files with 50 additions and 50 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ def mse(x, y):
img_noise = img + noise
img_const = img + abs(noise)
f, (ax0, ax1, ax2) = plt.subplots(nrows=1, ncols=3, figsize=(8, 4))
fig, (ax0, ax1, ax2) = plt.subplots(nrows=1, ncols=3, figsize=(8, 4))
mse_none = mse(img, img)
ssim_none = ssim(img, img, dynamic_range=img.max() - img.min())