how to put legend outside plot in seaborn code example
Example: seaborn set legend outside
plt.legend(bbox_to_anchor=(1, 1), loc='best', borderaxespad=0.) # Try this
# Other locations include [upper right, upper left, lower left,
# lower right, right, center left, center right, lower center,
# upper center, and center]
# A full example is a bit long, see source.