From d77931288e38921116006c6b8f3cdc0a3a362b39 Mon Sep 17 00:00:00 2001 From: Ajinkya Kulkarni Date: Sat, 1 Apr 2023 20:33:06 +0200 Subject: [PATCH] Update modules.py --- modules.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules.py b/modules.py index d854a82..2c14c95 100755 --- a/modules.py +++ b/modules.py @@ -361,11 +361,11 @@ def voronoi_tessellation(labelled_image): import matplotlib.pyplot as plt from mpl_toolkits.axes_grid1 import make_axes_locatable -def make_plots(rgb_image, ModelSensitivity, modified_labels_rgb_image, detailed_info, Local_Density_mean_filter, Local_Density_KDE, area_cluster_labels, area_cluster_number, roundness_cluster_labels, roundness_cluster_number, SIZE = "3%", PAD = 0.2, title_PAD = 15, DPI = 300, ALPHA = 1, constrained_layout = True): +def make_plots(rgb_image, ModelSensitivity, modified_labels_rgb_image, detailed_info, Local_Density_mean_filter, Local_Density_KDE, area_cluster_labels, area_cluster_number, roundness_cluster_labels, roundness_cluster_number, SIZE = "3%", PAD = 0.2, title_PAD = 15, DPI = 300, ALPHA = 1): - fig, axs = plt.subplot_mosaic([['a', 'b'], ['c', 'd'], ['e', 'f']], figsize=(20, 30), layout="constrained", dpi = DPI) +# fig, axs = plt.subplot_mosaic([['a', 'b'], ['c', 'd'], ['e', 'f']], figsize=(20, 30), layout="constrained", dpi = DPI) - # fig, axs = plt.subplot_mosaic([['a', 'b'], ['c', 'd'], ['e', 'f']], figsize=(20, 30), layout="constrained", dpi = DPI, gridspec_kw={'hspace': 0, 'wspace': 0.2}) + fig, axs = plt.subplot_mosaic([['a', 'b'], ['c', 'd'], ['e', 'f']], figsize=(20, 30), layout="constrained", dpi = DPI, gridspec_kw={'hspace': 0, 'wspace': 0.2}) ## Display RGB labelled image