From 197703a8579bae428765d35304f68e1efd820f8a Mon Sep 17 00:00:00 2001 From: tpique-ensae Date: Tue, 2 Apr 2024 11:59:06 +0000 Subject: [PATCH] final changes for spider chart --- utils_segmentation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils_segmentation.py b/utils_segmentation.py index 4262e35..fbad427 100644 --- a/utils_segmentation.py +++ b/utils_segmentation.py @@ -160,7 +160,7 @@ def radar_mp_plot_all(df, type_of_activity) : var_not_perc = ["age"] # Initialize graphic - fig, ax = plt.subplots(2,2, figsize=(20, 22), subplot_kw=dict(polar=True)) + fig, ax = plt.subplots(2,2, figsize=(20, 21), subplot_kw=dict(polar=True)) for index in range(nb_segments) : row = index // 2 # Division entière pour obtenir le numéro de ligne @@ -212,7 +212,7 @@ def radar_mp_plot_all(df, type_of_activity) : fig.suptitle(f"Characteristics of marketing personae of {type_of_activity} companies", size=32) - # plt.tight_layout() + plt.tight_layout() # plt.show() def known_sociodemo_caracteristics(df, type_of_activity) :