Accelerate FuncAnimation in matplotlib.animation to HTML

When animations made by FuncAnimation in matplotlib.animation and displayed via HTML, the time spent on displaying via HTML is a lot more than that on merely making the animations themselves. How to accerelate this? How to show fewer frames in HTML while keeping the same frames in the actual animation? Is there a better way of showing animations in jupyter?