I\'ve been using matplotlib to rotate the axes for an animation. So this is what I use as the update function for FuncAnimation:
def update(i, fig, ax): a