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
@@ -77,7 +77,7 @@ image[idx, idx] = 255
h, theta, d = hough_line(image)
f, ax = plt.subplots(1, 3, figsize=(8, 4))
fig, ax = plt.subplots(1, 3, figsize=(8, 4))
ax[0].imshow(image, cmap=plt.cm.gray)
ax[0].set_title('Input image')
@@ -108,7 +108,7 @@ image = data.camera()
edges = canny(image, 2, 1, 25)
lines = probabilistic_hough_line(edges, threshold=10, line_length=5, line_gap=3)
f2, ax = plt.subplots(1, 3, figsize=(8, 3))
fig2, ax = plt.subplots(1, 3, figsize=(8, 3))
ax[0].imshow(image, cmap=plt.cm.gray)
ax[0].set_title('Input image')