aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2019-06-04 12:29:53 -0500
committerzsloan2019-06-04 12:29:53 -0500
commit1033685f2f5769a44f2daabee2f7779288465711 (patch)
tree62624eb3aaef2591c62f7f7576db7e173e9d72c9 /wqflask
parent95a5e0e07fa9b4cd574beac5e4d9138a0b16bb60 (diff)
downloadgenenetwork2-1033685f2f5769a44f2daabee2f7779288465711.tar.gz
Fixed issue with probability plot y axis digits
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/static/new/javascript/plotly_probability_plot.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/static/new/javascript/plotly_probability_plot.js b/wqflask/wqflask/static/new/javascript/plotly_probability_plot.js
index d52cb100..38c18d2b 100644
--- a/wqflask/wqflask/static/new/javascript/plotly_probability_plot.js
+++ b/wqflask/wqflask/static/new/javascript/plotly_probability_plot.js
@@ -161,7 +161,7 @@
intercept_line['samples_all'] = [[first_x, last_x], [first_value, last_value]]
}
- if (Math.max(y_values['samples_all']) - Math.min(y_values['samples_all']) < 6){
+ if (Math.max(...y_values['samples_all']) - Math.min(...y_values['samples_all']) < 4){
tick_digits = '.1f'
} else {
tick_digits = 'f'