Skip to content

Commit

Permalink
feat: Plot pairplot with tight layout. (#91)
Browse files Browse the repository at this point in the history
The tight layout looks good and seaborn automatically switches to it
anyways, which raises a warning.
  • Loading branch information
mbelak-dtml committed Aug 21, 2023
1 parent cfd6124 commit 98b31cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions edvart/report_sections/bivariate_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]:
Expand Down

0 comments on commit 98b31cf

Please sign in to comment.