Created
February 27, 2020 00:29
-
-
Save binshengliu/6a6cba512bf818aae0d3c4a121d66ef1 to your computer and use it in GitHub Desktop.
Avoid legend being cut off
This file contains 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
# https://stackoverflow.com/a/10154763/955952 | |
fig.savefig('samplefigure', bbox_extra_artists=(lgd,text), bbox_inches='tight') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment