diff options
author | zsloan | 2023-06-06 17:58:56 +0000 |
---|---|---|
committer | zsloan | 2023-06-06 18:01:33 +0000 |
commit | 161abf23b0441e91dbbf1e0ae0e552307d48f2ef (patch) | |
tree | 8750773c57640eca99d110b1fc3f029911a19e83 | |
parent | a48ae96c73842e2060470f232f48995e7c70ed2a (diff) | |
download | genenetwork2-161abf23b0441e91dbbf1e0ae0e552307d48f2ef.tar.gz |
Align probability plot title to the left ('xanchor: right' does this for some reason)
-rw-r--r-- | wqflask/wqflask/static/new/javascript/plotly_probability_plot.js | 5 |
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, |