From 7afdf2161d0b8b65214ccd2db3ccf9df847056fe Mon Sep 17 00:00:00 2001 From: Adnan Abouelela Date: Thu, 5 Dec 2024 14:08:01 +0100 Subject: [PATCH] prevent popup plot --- .gitignore | 1 + src/spaceolotl/fct/expression.py | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 50a33fb..3f48c1f 100755 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ data/ .ipynb_checkpoints/ __pycache__/ scripts/statistics/ +*.tar.gz diff --git a/src/spaceolotl/fct/expression.py b/src/spaceolotl/fct/expression.py index a295a19..5679567 100755 --- a/src/spaceolotl/fct/expression.py +++ b/src/spaceolotl/fct/expression.py @@ -23,7 +23,6 @@ def plot_gene_expression(input): main_ax_ex.set_yticklabels(short_labels_ex) plt.subplots_adjust(top=0.95, bottom=0.1, left=0.1, right=0.95) - plt.show() def plot_de(input): @@ -44,5 +43,4 @@ def plot_de(input): short_labels_de = [label.split("-")[-1] for label in x_axis_labels] main_ax_de.set_xticklabels(short_labels_de) - plt.subplots_adjust(top=1, bottom=0.2, left=0.05, right=0.95) - plt.show() \ No newline at end of file + plt.subplots_adjust(top=1, bottom=0.2, left=0.05, right=0.95) \ No newline at end of file