def x_label(epoch_axis):
 return ('Epoch' if epoch_axis else 'Minibatch')

def x_label ( epoch_axis ) : return ( 'Epoch' if epoch_axis else 'Minibatch' )
get the x axis label depending on the boolean epoch_axis .