diff options
author | Artem Tarasov | 2015-05-08 13:37:09 +0300 |
---|---|---|
committer | Artem Tarasov | 2015-05-08 13:37:09 +0300 |
commit | 22903fc679e4dbbd820b2849703d6f41950483b3 (patch) | |
tree | 554e182d46e0ca939a9b22e9045646a1656c4e98 /wqflask | |
parent | bf860dd3c6e2c8d32e9d40ae129e33613151fab5 (diff) | |
download | genenetwork2-22903fc679e4dbbd820b2849703d6f41950483b3.tar.gz |
fix
Diffstat (limited to 'wqflask')
-rwxr-xr-x | wqflask/wqflask/static/new/javascript/histogram.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/static/new/javascript/histogram.coffee b/wqflask/wqflask/static/new/javascript/histogram.coffee index 7adb53f9..879c0fb8 100755 --- a/wqflask/wqflask/static/new/javascript/histogram.coffee +++ b/wqflask/wqflask/static/new/javascript/histogram.coffee @@ -53,7 +53,7 @@ class Histogram get_histogram_data: () ->
console.log("sample_vals:", @sample_vals)
- n_bins = sqrt(@sample_vals.length)
+ n_bins = Math.sqrt(@sample_vals.length)
@histogram_data = d3.layout.histogram()
.bins(@x_scale.ticks(n_bins))(@sample_vals)
console.log("histogram_data:", @histogram_data[0])
|