[Numpy-discussion] demo
Jochen Küpper
jochen at unc.edu
Sun Oct 7 15:34:02 CDT 2001
I know this is absolute highest priority:)), but it annoys me every
time...
Could someone please apply this patch to display the Mandelbrot demo
correctly on wide terminals?
Index: Demo/mandelbrot.py
===================================================================
RCS file: /cvsroot/numpy/Numerical/Demo/mandelbrot.py,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 mandelbrot.py
--- Demo/mandelbrot.py 2000/01/13 21:23:02 1.1.1.1
+++ Demo/mandelbrot.py 2001/10/07 22:27:19
@@ -22,6 +22,7 @@
if __name__ == "__main__":
- print draw(-2.1, 0.7, -1.2, 1.2)
-
+ data = draw(-2.1, 0.7, -1.2, 1.2)
+ for i in range(0, len(data), 81):
+ print data[i:i+81]
Greetings,
Jochen
--
University of North Carolina phone: +1-919-962-4403
Department of Chemistry phone: +1-919-962-1579
Venable Hall CB#3290 (Kenan C148) fax: +1-919-843-6041
Chapel Hill, NC 27599, USA GnuPG key: 44BCCD8E
More information about the Numpy-discussion
mailing list