aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2022-07-27 18:11:35 +0000
committerzsloan2022-07-27 18:12:37 +0000
commitb07cd9d9321c93da7c4fdbefa1e6c6ebd121cb65 (patch)
treeab7dede30cb4d6bf85906c2ab355085498ed42b6
parente412d0dd01e47e9594afdfa25f8fd7540e0068dc (diff)
downloadgenenetwork2-b07cd9d9321c93da7c4fdbefa1e6c6ebd121cb65.tar.gz
Change some text/formatting for the Scree Plot
-rw-r--r--wqflask/wqflask/templates/pca_scree_plot.html17
1 files changed, 4 insertions, 13 deletions
diff --git a/wqflask/wqflask/templates/pca_scree_plot.html b/wqflask/wqflask/templates/pca_scree_plot.html
index a9a6e761..74eb2c15 100644
--- a/wqflask/wqflask/templates/pca_scree_plot.html
+++ b/wqflask/wqflask/templates/pca_scree_plot.html
@@ -9,7 +9,8 @@
<body>
<div>
-
+ <h2>Scree Plot</h2>
+ <div style="padding-bottom: 10px;">Review more on <a href="https://en.wikipedia.org/wiki/Scree_plot">scree plots</a>.</div>
<div id="scree_plot" style="width:700px;height:600px;"></div>
</div>
</body>
@@ -21,19 +22,9 @@ let { x_coord, y_coord } = js_data["scree_data"]
const layout = {
-
- title: {
- text: "<b>PCA Scree Plot</b>",
- font: {
- "size": 24,
- "family": "Arial",
- "color": "#000000"
- }
- },
-
yaxis: {
title: {
- text: "Percent of total variance %",
+ text: "% of Variance",
font: {
"size": 18,
"color": ""
@@ -44,7 +35,7 @@ const layout = {
xaxis: {
title: {
- text: "PCA components",
+ text: "Principal Components",
font: {
"size": 18,
"color": ""