From 2e0be81291c575c89085544cf73896e1c0d2f567 Mon Sep 17 00:00:00 2001 From: kapoorlab Date: Thu, 3 Oct 2024 12:45:02 +0000 Subject: [PATCH] msd analysis --- src/napatrackmater/Trackvector.py | 5 +++-- src/napatrackmater/_version.py | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/napatrackmater/Trackvector.py b/src/napatrackmater/Trackvector.py index 03ff587..beeafa5 100644 --- a/src/napatrackmater/Trackvector.py +++ b/src/napatrackmater/Trackvector.py @@ -3399,7 +3399,7 @@ def plot_at_mitosis_time(matrix_directory, save_dir, dataset_name, channel): def plot_histograms_for_groups( - matrix_directory, save_dir, dataset_name, channel, name="all" + matrix_directory, save_dir, dataset_name, channel, name="all", plot_show=True ): files = os.listdir(matrix_directory) @@ -3447,7 +3447,8 @@ def plot_histograms_for_groups( plt.legend() fig_name = f"{channel}{group_name}_{name}_distribution.png" plt.savefig(os.path.join(save_dir, fig_name), dpi=300, bbox_inches="tight") - plt.show() + if plot_show: + plt.show() def plot_histograms_for_cell_type_groups( diff --git a/src/napatrackmater/_version.py b/src/napatrackmater/_version.py index 1304793..af6b385 100644 --- a/src/napatrackmater/_version.py +++ b/src/napatrackmater/_version.py @@ -1,2 +1,2 @@ -__version__ = version = "5.5.7" -__version_tuple__ = version_tuple = (5, 5, 7) +__version__ = version = "5.5.8" +__version_tuple__ = version_tuple = (5, 5, 8)