Vivian
2/18/2020 - 2:48 PM

adjust legend location

 plt.legend(bbox_to_anchor=(1.05, 1), loc=2, borderaxespad=0.)