[Matplotlib-users] load and comments #2

2006-11-15 Thread Willi Richert
Hi, if I use comments and the last character in the file is not space or \n then the last value is not returned by mlab.py's load method, due to a bug in the comment stripping (index returns -1 if no comment is found). If the for loop is changed to the following, it works again: for i,line in

Re: [Matplotlib-users] load and comments

2006-10-10 Thread John Hunter
> "humufr" == humufr <[EMAIL PROTECTED]> writes: humufr> Hi, I'm using very often the load command, I humufr> would like to know why the default comments character is humufr> still '%', the one from matlab, other than historical? I humufr> would prefer to have the

[Matplotlib-users] load and comments

2006-10-10 Thread humufr
Hi, I'm using very often the load command, I would like to know why the default comments character is still '%', the one from matlab, other than historical? I would prefer to have the one from python '#'. I know it's just a personal preference but we are using python so for cons