Programming, Science, Python, Mathematics, Towards Data Science.
ax.set_title("Frame No: 0") cont=ax.contourf(X,Y,p_p) stream=ax.streamplot(X[::index_cut_y,::index_cut_x],Y[::index_cut_y,::index_cut_x],u_p[::index_cut_y,::index_cut_x],v_p[::index_cut_y,::index_cut_x],color="k") fig.colorbar(cont) fig.tight_layout() To animate this plot further, the FuncAnimation