TypeError: cannot unpack non-iterable int object

Based on your code it seems you are appending epoch_acc and epoch_loss only once after the training is done so I would assume plt.plot just plots one point?
I guess you want to append all epoch stats so move the history.append into the epoch loop?