aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/templates/pca_scree_plot.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/wqflask/wqflask/templates/pca_scree_plot.html b/wqflask/wqflask/templates/pca_scree_plot.html
index 5b8ab09e..7ebed1d3 100644
--- a/wqflask/wqflask/templates/pca_scree_plot.html
+++ b/wqflask/wqflask/templates/pca_scree_plot.html
@@ -69,6 +69,23 @@ const data = [{
}
}]
+
+
+let custom_configs = (filename, format, modebar = true) => {
+
+ return {
+ displayModeBar: modebar,
+ scrollZoom: false,
+ toImageButtonOptions: {
+ format,
+ filename,
+ height: 600,
+ width: 700,
+ scale: 1
+ }
+ }
+
+}
</script>
</html>