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

Skip to content

Commit db8d00f

Browse files
committed
Oops in last commit.
svn path=/trunk/matplotlib/; revision=4200
1 parent 951247b commit db8d00f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/mlab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1265,7 +1265,7 @@ def load(fname,comments='#',delimiter=None, converters=None,skiprows=0,
12651265
converterseq = None
12661266
for i,line in enumerate(fh):
12671267
if i<skiprows: continue
1268-
line = line.split(comments, 1).strip()
1268+
line = line.split(comments, 1)[0].strip()
12691269
if not len(line): continue
12701270
if converterseq is None:
12711271
converterseq = [converters.get(j,float)

0 commit comments

Comments
 (0)