pep8ify examples (part2)

Continuation of #3425 

This time I converted

color
event_handling
images_contours_and_fields
lines_bars_and_marker
misc
mplot3d
pie_and_polar_charts

TODO
- [x] remove newline(s) after ``class`` declaration