From 98b31cf7c7e3dfc74326c5fd313e106bc2e155de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Bel=C3=A1k?= Date: Mon, 21 Aug 2023 13:17:08 +0200 Subject: [PATCH] feat: Plot pairplot with tight layout. (#91) 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]: