Skip to content

Conversation

@mariam851
Copy link
Contributor

@mariam851 mariam851 commented Jan 18, 2026

Hi @rasbt,

I've fixed issue #717 regarding the sign flip in plot_pca_correlation_graph. The correlation matrix now correctly aligns with feature variance.

Key Changes:

Logic: Inverted correlation signs to ensure consistent direction (e.g., positive correlations for Iris features).

Compatibility: Fixed a TypeError in test_pca_corr_graph.py related to Python 3.12 version comparison.

Formatting: Cleaned up both files with isort and flake8.

Screenshot (50) Screenshot (51)

update: I've implemented the fix and ensured that my contributed files are properly formatted. However, the Linting CI is failing due to existing formatting issues in external files (adjust_text.py, association_rules.py, etc.) which seem to require a different version of black/isort than the one available in my environment. I've focused the changes on the PCA issue to keep the PR clean."

@mariam851 mariam851 force-pushed the fix-pca-sign-717 branch 3 times, most recently from 69988de to f812c9d Compare January 18, 2026 20:21
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant