Created
September 6, 2021 07:13
-
-
Save AayushSameerShah/89d8e0d4641a782d1f078e02346836ce to your computer and use it in GitHub Desktop.
Just remove the daunting legend from seaborn plot.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For most plots | |
plt.legend([], [], frameon=False); | |
# For pairplot | |
temp = sns.pairplot(...) | |
temp._legend.remove() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment