Remove or adapt border of frame of legend using matplotlib,plt.legend(frameon=False)