added a matplotib animation