hi all,

i managed to do linear regression on two vectors x, and y using linalg.lstsq. what i can’t figure out is how to compute the R-squared value - the correlation of the two vectors - in matplotlib. can someone please point me to the right function? thank you.