Added ability to pass figure to matplotlib animation.
Removed dt from plot_static_x figure.