EU = mpatches.Patch(color='green', label='Europe')
AP = mpatches.Patch(color='red', label='Asia/Pacific')
SA = mpatches.Patch(color='yellow', label='South America')
plt.legend(handles=[NA, EU, AP, SA], loc=2)
plt.show()
Custom legend in Pandas bar plot (matplotlib)