[examples] final pep8 fixes

I didn't know that its possible to change the shape by assigning a tuple to the shape attr. You are right, this avoids messing around with views.