aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Kabui2022-03-18 16:32:28 +0300
committerAlexander Kabui2022-03-18 16:32:28 +0300
commit11c94876a376539030d9645a1779abff62858c65 (patch)
treef865659eaccdc7eb24e1d04f5a46557eb70dc001
parent0964e2563a96130e306edd31cd91fee4b378697d (diff)
downloadgenenetwork2-11c94876a376539030d9645a1779abff62858c65.tar.gz
fixes for ImageButtonOptions
-rw-r--r--wqflask/wqflask/templates/pca_scree_plot.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/wqflask/wqflask/templates/pca_scree_plot.html b/wqflask/wqflask/templates/pca_scree_plot.html
index b0ef78d0..e0b854fa 100644
--- a/wqflask/wqflask/templates/pca_scree_plot.html
+++ b/wqflask/wqflask/templates/pca_scree_plot.html
@@ -9,7 +9,7 @@
<body>
<div>
- pca scree plot
+
<div id="scree_plot" style="width:700px;height:600px;"></div>
</div>
</body>
@@ -23,7 +23,7 @@ let { x_coord, y_coord } = js_data["scree_data"]
const layout = {
title: {
- text: "<b>Scree Plot</b>",
+ text: "<b>Pca Scree Plot</b>",
font: {
"size": 24,
"family": "Arial",
@@ -77,8 +77,8 @@ let custom_configs = (filename, download_format, modebar = true) => {
displayModeBar: modebar,
scrollZoom: false,
toImageButtonOptions: {
- download_format,
filename,
+ format:download_format,
height: 600,
width: 700,
scale: 1