From 44f1f0d9ce426d7241356b6e6b17223854e4f10c Mon Sep 17 00:00:00 2001 From: zsloan Date: Thu, 7 Mar 2019 14:19:12 -0600 Subject: Made violin plots for different groups/sample-sets different colors and matched colors between box and violin plots --- wqflask/wqflask/static/new/javascript/show_trait.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'wqflask') diff --git a/wqflask/wqflask/static/new/javascript/show_trait.js b/wqflask/wqflask/static/new/javascript/show_trait.js index 89197a01..61fd032c 100644 --- a/wqflask/wqflask/static/new/javascript/show_trait.js +++ b/wqflask/wqflask/static/new/javascript/show_trait.js @@ -933,7 +933,7 @@ if (full_sample_lists.length > 1) { fillcolor: 'cls', pointpos: -3, marker: { - color: 'rgb(0, 0, 255)', + color: 'blue', size: 3 }, line: { @@ -950,7 +950,7 @@ if (full_sample_lists.length > 1) { fillcolor: 'cls', pointpos: -3, marker: { - color: 'rgb(200, 0, 0)', + color: 'red', size: 3 }, line: { @@ -967,7 +967,7 @@ if (full_sample_lists.length > 1) { fillcolor: 'cls', pointpos: -3, marker: { - color: 'rgb(0, 104, 0)', + color: 'green', size: 3 }, line: { @@ -1048,7 +1048,7 @@ if (full_sample_lists.length > 1) { visible: true }, line: { - color: 'green', + color: 'blue', }, meanline: { visible: true @@ -1064,7 +1064,7 @@ if (full_sample_lists.length > 1) { visible: true }, line: { - color: 'green', + color: 'red', }, meanline: { visible: true -- cgit v1.2.3