Skip to content

Commit 0d0546d

Browse files
fix typo
1 parent 54494e4 commit 0d0546d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scikitplot/decomposition.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def plot_pca_2d_projection(clf, X, y, title='PCA 2-D Projection',
197197
ax.legend(loc='best', shadow=False, scatterpoints=1,
198198
fontsize=text_fontsize)
199199
ax.set_xlabel(f'Principal Component {dimensions[0]+1}', fontsize=text_fontsize)
200-
ax.set_ylabel(f'Principal Component {dimension[1]+1}', fontsize=text_fontsize)
200+
ax.set_ylabel(f'Principal Component {dimensions[1]+1}', fontsize=text_fontsize)
201201
ax.tick_params(labelsize=text_fontsize)
202202

203203
return ax

0 commit comments

Comments
 (0)