summaryrefslogtreecommitdiff
blob: 9e709d01d412856262ffde526da0d5c274b037d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- doc/mpl_examples/pylab_examples/to_numeric.py.orig	2009-02-27 17:10:43.000000000 +0000
+++ doc/mpl_examples/pylab_examples/to_numeric.py	2009-02-27 17:06:20.000000000 +0000
@@ -28,6 +28,6 @@
 X = fromstring(s, uint8)
 X.shape = h, w, 3
 
-im = Image.fromstring( "RGB", (w,h), s)
-im.show()
+im = imshow(Image.fromstring( "RGB", (w,h), s),origin='lower')
+show()