[examples] final pep8 fixes

Not strictly a PEP8 issue, but I think this would be nicer with the colors list comprehension assigned to a variable above, and then used by name; also, I think it could use `for i in 'bgrcmyk'` to shorten it.  (I suspect I wrote this example myself long ago...)