How do I draw a rectangle on the legend in matplotlib?,plt.show()