[PEP8](http://www.python.org/dev/peps/pep-0008/) syntax guidelines for Python suggest `img[..., newaxis]`. (ie there is a missing space after the comma.)