Revision: 4537
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4537&view=rev
Author:   astraw
Date:     2007-12-01 12:12:05 -0800 (Sat, 01 Dec 2007)

Log Message:
-----------
Fix loading of AAPL data in get_two_stock_data()

Modified Paths:
--------------
    trunk/matplotlib/examples/data_helper.py

Modified: trunk/matplotlib/examples/data_helper.py
===================================================================
--- trunk/matplotlib/examples/data_helper.py    2007-12-01 14:37:44 UTC (rev 
4536)
+++ trunk/matplotlib/examples/data_helper.py    2007-12-01 20:12:05 UTC (rev 
4537)
@@ -15,7 +15,7 @@
     M1 = resize(M1, (M1.shape[0]/2,2) )
 
     M2 = fromstring( file('data/%s.dat' % ticker2, 'rb').read(), '<d')
-    M2 = resize(M1, (M2.shape[0]/2,2) )
+    M2 = resize(M2, (M2.shape[0]/2,2) )
 
     d1, p1 = M1[:,0], M1[:,1]
     d2, p2 = M2[:,0], M2[:,1]


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to