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)