Skip to content

Commit

Permalink
feat: use equal scale axes for PCA scatter plot
Browse files Browse the repository at this point in the history
  • Loading branch information
mbelak-dtml committed Aug 10, 2023
1 parent 0036cbe commit 03d6975
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions edvart/report_sections/multivariate_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ def pca_first_vs_second(
show_xticks=True,
show_yticks=True,
show_zerolines=True,
equal_scale_axes=True,
)

print(f"Explained variance ratio: {pca.explained_variance_ratio_[:2].sum() * 100 :.2f}%")
Expand Down

0 comments on commit 03d6975

Please sign in to comment.