'Called when an epoch is about to end
Arguments:
epoch (int): index of epoch that is ending'

def on_epoch_end(self, callback_data, model, epoch):

    if (not self.plot_per_mini):
        self._save_hist_data(callback_data, model, epoch)
