Computational Physics, Python, Math, Physics.
fontsize = 16) ax.set_zlim(myzlim[0], myzlim[1]) plt.tight_layout() return surf, # call the animator. blit=True means only re-draw the parts that have changed. anim = animation.FuncAnimation(fig, update_surf, frames = L.shape[2]//pas_d_images, interval = 50, blit = False) # Save the result if save: