about summary refs log tree commit diff
diff options
context:
space:
mode:
authorzsloan2019-03-07 14:19:12 -0600
committerzsloan2019-03-07 14:19:12 -0600
commit44f1f0d9ce426d7241356b6e6b17223854e4f10c (patch)
tree249a25959839f0180edcd1ab9ca54478afc8f2ec
parent27b9a381b11550f0007a170ea7c993eb763c67db (diff)
downloadgenenetwork2-44f1f0d9ce426d7241356b6e6b17223854e4f10c.tar.gz
Made violin plots for different groups/sample-sets different colors and matched colors between box and violin plots
-rw-r--r--wqflask/wqflask/static/new/javascript/show_trait.js10
1 files changed, 5 insertions, 5 deletions
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