From 6ce99d16ad008915dc685c37548dd187fc8fcc98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Bel=C3=A1k?= Date: Wed, 16 Aug 2023 11:10:37 +0200 Subject: [PATCH] feat: Plot pairplot with tight layout. The tight layout looks good and seaborn automatically switches to it anyways, which raises a warning. --- edvart/report_sections/bivariate_analysis.py | 1 + 1 file changed, 1 insertion(+) diff --git a/edvart/report_sections/bivariate_analysis.py b/edvart/report_sections/bivariate_analysis.py index 0e11858..01c517a 100644 --- a/edvart/report_sections/bivariate_analysis.py +++ b/edvart/report_sections/bivariate_analysis.py @@ -668,6 +668,7 @@ def include_column(col: str) -> bool: columns_x = list(filter(include_column, columns_x)) columns_y = list(filter(include_column, columns_y)) utils.pair_plot(df, columns_x, columns_y, color_col=color_col) + plt.tight_layout() plt.show() def required_imports(self) -> List[str]: