<human>:  Remove or adapt border of frame of legend using matplotlib
<bot>: Here is some code to remove frame of legend in plot `plt`

plt.legend(frameon=False)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.