1 |
bicatali 09/02/27 17:49:50 |
2 |
|
3 |
Added: matplotlib-0.98.5.2-no-xv.patch |
4 |
Log: |
5 |
Added more dependencies to build documentation and a patch to avoid to launch xv during doc compilation when imaging is installed. Closing bug #260446 and bug #260431 |
6 |
(Portage version: 2.2_rc23/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 dev-python/matplotlib/files/matplotlib-0.98.5.2-no-xv.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/matplotlib/files/matplotlib-0.98.5.2-no-xv.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/matplotlib/files/matplotlib-0.98.5.2-no-xv.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: matplotlib-0.98.5.2-no-xv.patch |
15 |
=================================================================== |
16 |
--- examples/pylab_examples/to_numeric.py.orig 2009-02-27 17:10:43.000000000 +0000 |
17 |
+++ examples/pylab_examples/to_numeric.py 2009-02-27 17:06:20.000000000 +0000 |
18 |
@@ -28,6 +28,6 @@ |
19 |
X = fromstring(s, uint8) |
20 |
X.shape = h, w, 3 |
21 |
|
22 |
-im = Image.fromstring( "RGB", (w,h), s) |
23 |
-im.show() |
24 |
+im = imshow(Image.fromstring( "RGB", (w,h), s),origin='lower') |
25 |
+show() |