[examples] final pep8 fixes

I only fixed it in line_collection.py, where there was also a kwarg with extraneous spaces. Now the spaces are removed in line_collection2.py as well