From 142dc2fa87a602c5f357e0a16ab799ed1371b91a Mon Sep 17 00:00:00 2001 From: zsloan Date: Mon, 1 May 2023 18:39:56 +0000 Subject: Left-align histogram title For some reason xanchor=right does this --- wqflask/wqflask/static/new/javascript/show_trait.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wqflask') diff --git a/wqflask/wqflask/static/new/javascript/show_trait.js b/wqflask/wqflask/static/new/javascript/show_trait.js index a2a5c67d..f13ce79c 100644 --- a/wqflask/wqflask/static/new/javascript/show_trait.js +++ b/wqflask/wqflask/static/new/javascript/show_trait.js @@ -1418,7 +1418,7 @@ root.histogram_data = [hist_trace]; root.histogram_layout = { bargap: 0.05, title: { - xanchor: 'left', + xanchor: 'right', text: "Trait " + js_data.trait_id + ": " + js_data.short_description + "", }, xaxis: { -- cgit v1.2.3