aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-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 = {}