STY: slight PEP8 fixups for numpy/compat.