DOC: pep8

I noticed several pep8 mistakes in tutorials. This is an attempt to fix some of them.