diff utils.py @ 15:a2aeeb754d76 draft

planemo upload for repository https://github.com/goeckslab/gleam commit bc50fef8acb44aca15d0a1746e6c0c967da5bb17
author goeckslab
date Fri, 28 Nov 2025 15:46:17 +0000
parents e2a6fed32d54
children
line wrap: on
line diff
--- a/utils.py	Wed Nov 26 17:49:50 2025 +0000
+++ b/utils.py	Fri Nov 28 15:46:17 2025 +0000
@@ -246,7 +246,13 @@
 def customize_figure_layout(fig, margin_dict=None):
     if margin_dict is None:
         margin_dict = {"l": 40, "r": 40, "t": 40, "b": 40}
-    fig.update_layout(margin=margin_dict)
+    fig.update_layout(
+        margin=margin_dict,
+        plot_bgcolor="#ffffff",
+        paper_bgcolor="#ffffff",
+    )
+    fig.update_xaxes(gridcolor="#e8e8e8")
+    fig.update_yaxes(gridcolor="#e8e8e8")
     return fig