Pep8ify examples

This PR converts the animation, api and axes_grid examples.

(Retry of #3182/#3183)

I addressed @ianthomas23' comments from #3183
and here is a commented out save call that didn't get a space. Seems to me like whatever tool was used wasn't consistent (but I prefer this style)