From bc14fb7954272e02600dd370f3df5130219bc552 Mon Sep 17 00:00:00 2001 From: erdogant Date: Fri, 17 May 2024 17:27:09 +0200 Subject: [PATCH] type fix. issue #52 --- pca/pca.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pca/pca.py b/pca/pca.py index 2519e50..c8c3d0c 100644 --- a/pca/pca.py +++ b/pca/pca.py @@ -969,7 +969,7 @@ def plot(self, n_components=None, xsteps=None, title=None, visible=True, figsize ax.set_xticklabels(xticklabel, rotation=90, ha='left', va='top') plt.ylabel('Percentage explained variance') - plt.xlabel('Principle Component') + plt.xlabel('Principal Component') plt.ylim([0, 1.05]) plt.xlim([0, len(explvar) + 1]) if title is None: