from IPython.display import HTML
fig, ax = plt.subplots(figsize=(15, 8))
animator = animation.FuncAnimation(fig, draw_barchart,frames=(1980, 1984, 1988, 1992, 1996, 2000, 2004, 2008, 2012))
HTML(animator.to_jshtml())
# .save as gif or mp4 fps is the speed and dpi is the resolution
animator.save('moneyraise.gif', fps=.5, dpi=200)