Commits

Anonymous committed bd7f571

remove unnecessary newline in gnuplot

  • Participants
  • Parent commits cf1b68d

Comments (0)

Files changed (1)

       fmt = lambda _: _.n().str(no_sci=2)
       for t in tvals:
           try:
-              lines.append('{0} {1}  i\n'.format(fmt(x(t)), fmt(y(t))))
+              lines.append('{0} {1}  i'.format(fmt(x(t)), fmt(y(t))))
           except ValueError, ZeroDivisonError:
               pass
       with open(fn, 'w') as f: