Fixed scipy axis specification when 1d array is passed