aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/static/new/javascript/plotly_probability_plot.js5
1 files changed, 4 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 59c23819..577d62d3 100644
--- a/wqflask/wqflask/static/new/javascript/plotly_probability_plot.js
+++ b/wqflask/wqflask/static/new/javascript/plotly_probability_plot.js
@@ -171,7 +171,10 @@
}
var layout = {
- title: "<b>Trait " + js_data.trait_id + ": " + js_data.short_description + "</b>",
+ title: {
+ xanchor: 'right',
+ text: "<b>Trait " + js_data.trait_id + ": " + js_data.short_description + "</b>",
+ },
margin: {
l: 100,
r: 30,