[Numpy-discussion] Correct error of invalid axis arguments.