aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2019-07-01 12:33:07 -0500
committerzsloan2019-07-01 12:33:07 -0500
commit94e8faa9866ef21165b5686f33905c2815b4b933 (patch)
treecdef231eecad68c96933e479b01414e8f456d396
parent13d36103288668d50eb73ce7a0b438a7880c33a4 (diff)
downloadgenenetwork2-94e8faa9866ef21165b5686f33905c2815b4b933.tar.gz
a
-rw-r--r--wqflask/wqflask/correlation/show_corr_results.py2
-rw-r--r--wqflask/wqflask/static/new/javascript/draw_corr_scatterplot.js6
2 files changed, 6 insertions, 2 deletions
diff --git a/wqflask/wqflask/correlation/show_corr_results.py b/wqflask/wqflask/correlation/show_corr_results.py
index 75cf5f7f..b7b349d5 100644
--- a/wqflask/wqflask/correlation/show_corr_results.py
+++ b/wqflask/wqflask/correlation/show_corr_results.py
@@ -117,6 +117,8 @@ class CorrelationResults(object):
self.location_chr = get_string(start_vars,'loc_chr')
self.min_location_mb = get_int(start_vars,'min_loc_mb')
self.max_location_mb = get_int(start_vars,'max_loc_mb')
+ else:
+ self.location_chr = self.min_location_mb = self.max_location_mb = None
self.get_formatted_corr_type()
self.return_number = int(start_vars['corr_return_results'])
diff --git a/wqflask/wqflask/static/new/javascript/draw_corr_scatterplot.js b/wqflask/wqflask/static/new/javascript/draw_corr_scatterplot.js
index a29e751e..4b212f8b 100644
--- a/wqflask/wqflask/static/new/javascript/draw_corr_scatterplot.js
+++ b/wqflask/wqflask/static/new/javascript/draw_corr_scatterplot.js
@@ -26,7 +26,8 @@ var layout = {
linecolor: 'black',
linewidth: 1,
},
- hovermode: "closest"
+ hovermode: "closest",
+ showlegend: false
}
var sr_layout = {
@@ -54,7 +55,8 @@ var sr_layout = {
linecolor: 'black',
linewidth: 1,
},
- hovermode: "closest"
+ hovermode: "closest",
+ showlegend: false
}
cofactor1_dict = {}