The joinplot function drawing of Seaborn cannot display the pearson correlation coefficient.

   

the version of the third package related to Python3, is as follows (I don"t know if it has anything to do with the version):

Seaborn version: 0.9.0
matplotlib version: 2.1.0
scipy:1.1.0
numpy:1.15.0

I have confirmed that the document has no parameters related to it, and I don"t know what the problem is. I don"t know. No friends have ever had any related problems? I hope there are bosses who can help. Thank you.

Jul.16,2021

the text is drawn separately

g.annotate(rsquare, template="{stat}: {val:.2f}",
                stat="$R^2$", loc="upper left", fontsize=12)

see

http://seaborn.pydata.org/gen.

Menu