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
+2 -2
View File
@@ -47,7 +47,7 @@ image[circle2] = 0
skeleton = skeletonize(image)
# display results
f, (ax1, ax2) = plt.subplots(1, 2, figsize=(8, 4.5))
fig, (ax1, ax2) = plt.subplots(1, 2, figsize=(8, 4.5))
ax1.imshow(image, cmap=plt.cm.gray)
ax1.axis('off')
@@ -57,7 +57,7 @@ ax2.imshow(skeleton, cmap=plt.cm.gray)
ax2.axis('off')
ax2.set_title('skeleton', fontsize=20)
f.subplots_adjust(wspace=0.02, hspace=0.02, top=0.98,
fig.subplots_adjust(wspace=0.02, hspace=0.02, top=0.98,
bottom=0.02, left=0.02, right=0.98)
plt.show()