We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, it is kind of related to #1873, I'm using seaborn 0.11.0, when I trying to annotate,
j = sns.jointplot(feat_1, feat_2, data=X_train, kind="kde", color="r", space=0) j.annotate(stats.pearsonr,frameon=False)
the following error occurred
--------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-25-52199c4ff320> in <module> 5 j = sns.jointplot(feat_1, feat_2, data=X_train, 6 kind="kde", color="r", space=0) ----> 7 j.annotate(stats.pearsonr,frameon=False) 8 9 graph.x = X_train[feat_1] AttributeError: 'JointGrid' object has no attribute 'annotate'
Is there an alternative to add annotations to JointGrid? Many thanks!
The text was updated successfully, but these errors were encountered:
Indeed, that method was deprecated (in 0.9) and removed (in 0.11).
You can add arbitrary text to matplotlib figures; use JointGrid.ax_joint.text to do so.
JointGrid.ax_joint.text
Sorry, something went wrong.
How can I get this (https://stackoverflow.com/questions/31568874/how-to-change-the-line-color-in-seaborn-linear-regression-jointplot) using the new version ??
No branches or pull requests
Hi, it is kind of related to #1873, I'm using seaborn 0.11.0, when I trying to annotate,
the following error occurred
Is there an alternative to add annotations to JointGrid?
Many thanks!
The text was updated successfully, but these errors were encountered: