how to adjust the size of matplotlib legend box?,ax.legend(loc='upper left')