Skip to content

Commit 312f5f4

Browse files
authored
Update blog06-image05.py
1 parent 965ae29 commit 312f5f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

blog06-resize/blog06-image05.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#显示图形
1717
titles = ['Source', 'Image1', 'Image2', 'Image3']
1818
images = [src, img1, img2, img3]
19-
for i in xrange(4):
19+
for i in range(4):
2020
plt.subplot(2,2,i+1), plt.imshow(images[i], 'gray')
2121
plt.title(titles[i])
2222
plt.xticks([]),plt.yticks([])

0 commit comments

Comments
 (0)