From 078d6cfec300fd3c38ae0efcc0011b5352e3b8c3 Mon Sep 17 00:00:00 2001 From: Jan Bernoth <jan.bernoth@uni-potsdam.de> Date: Thu, 4 Jan 2024 13:47:36 +0100 Subject: [PATCH] set label to label1 --- src/main.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.py b/src/main.py index d25a736..d9e913c 100644 --- a/src/main.py +++ b/src/main.py @@ -369,9 +369,9 @@ class Plotter: # Increase the font size for the x and y tick labels for tick in axes.xaxis.get_major_ticks(): - tick.label.set_fontsize(15) + tick.label1.set_fontsize(15) for tick in axes.yaxis.get_major_ticks(): - tick.label.set_fontsize(15) + tick.label1.set_fontsize(15) sns.set_theme(style="whitegrid") sns.despine(left=True) @@ -401,9 +401,9 @@ class Plotter: # Increase the font size for the x and y tick labels for tick in axes.xaxis.get_major_ticks(): - tick.label.set_fontsize(15) + tick.label1.set_fontsize(15) for tick in axes.yaxis.get_major_ticks(): - tick.label.set_fontsize(15) + tick.label1.set_fontsize(15) sns.set_theme(style="whitegrid") save_plot(plt, 'demographics_gender') -- GitLab