changeset 82:738a2400f0f3

cast to float
author Jeff Hammel <k0scist@gmail.com>
date Sun, 01 Mar 2015 09:42:35 -0800
parents 202ab51601b4
children 01b8009facc8
files numerics/histogram.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/numerics/histogram.py	Sun Mar 01 09:36:35 2015 -0800
+++ b/numerics/histogram.py	Sun Mar 01 09:42:35 2015 -0800
@@ -105,7 +105,8 @@
     columns = transpose(data)
 
     # cast to float
-    import pdb; pdb.set_trace()
+    columns = [[float(value) for value in column]
+               for column in columns]
 
     # find min, max if not provided
     if options.min is None: