Use instance methods x.max() instead of np.max(x)