Created
August 30, 2021 07:18
-
-
Save AayushSameerShah/454c771d41678f0ec7c28cf0a3414ae6 to your computer and use it in GitHub Desktop.
Just add one line and the legend will be thrown away!
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
plt.legend(bbox_to_anchor=(1.05, 1), loc='upper left') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From here: https://stackoverflow.com/questions/4700614/how-to-put-the-legend-out-of-the-plot