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
@@ -29,7 +29,7 @@ r = np.sin(np.exp((np.sin(x)**3 + np.cos(y)**2)))
contours = measure.find_contours(r, 0.8)
# Display the image and plot all contours found
f, ax = plt.subplots()
fig, ax = plt.subplots()
ax.imshow(r, interpolation='nearest', cmap=plt.cm.gray)
for n, contour in enumerate(contours):