25 lines
586 B
Plaintext
25 lines
586 B
Plaintext
$OpenBSD: patch-examples_image_interp_py,v 1.1 2005/07/09 06:14:04 djm Exp $
|
|
--- examples/image_interp.py.orig Sat Jul 9 13:00:48 2005
|
|
+++ examples/image_interp.py Sat Jul 9 13:02:43 2005
|
|
@@ -50,17 +50,17 @@ from pylab import *
|
|
A = rand(5,5)
|
|
figure(1)
|
|
imshow(A, interpolation='nearest')
|
|
-savefig('agg_nearest')
|
|
+#savefig('agg_nearest')
|
|
grid(True)
|
|
|
|
figure(2)
|
|
imshow(A, interpolation='bilinear')
|
|
-savefig('agg_bilinear')
|
|
+#savefig('agg_bilinear')
|
|
grid(True)
|
|
|
|
figure(3)
|
|
imshow(A, interpolation='bicubic')
|
|
-savefig('agg_bicubic')
|
|
+#savefig('agg_bicubic')
|
|
grid(True)
|
|
|
|
show()
|