Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3e5aaff

Browse files
committed
Fix loading of AAPL data in get_two_stock_data()
svn path=/trunk/matplotlib/; revision=4537
1 parent e081ef4 commit 3e5aaff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/data_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def get_two_stock_data():
1515
M1 = resize(M1, (M1.shape[0]/2,2) )
1616

1717
M2 = fromstring( file('data/%s.dat' % ticker2, 'rb').read(), '<d')
18-
M2 = resize(M1, (M2.shape[0]/2,2) )
18+
M2 = resize(M2, (M2.shape[0]/2,2) )
1919

2020
d1, p1 = M1[:,0], M1[:,1]
2121
d2, p2 = M2[:,0], M2[:,1]

0 commit comments

Comments
 (0)