switch to 4.x style animation if can't import animation module from matplotlib for compatibility with earlier versions of mpl
Merge pull request #79 from rjleveque/matplotlib-animation

switch to 4.x style animation if can't import animation module from matplotlib