erdogant / pca

pca: A Python Package for Principal Component Analysis.
https://erdogant.github.io/pca
MIT License
286 stars 43 forks source link

How to fix the head of the arrows in biplot? #28

Closed tomasdelvechio closed 2 years ago

tomasdelvechio commented 2 years ago

When I run this code

fig,ax=cl.pca.biplot(n_feat=2, y=df_labels.label_names, legend = True)

I get the next image

download

How to fix the arrowshead width or length?

erdogant commented 2 years ago

oh wow. That's what we call a big arrowhead.

erdogant commented 2 years ago

I created a new version that should fix this issue. Update to the latest version:

pip install -U pca

tomasdelvechio commented 2 years ago

Great! The biplot now showing fine.

index

Thanks for the fix