Inline animation using PyPlot

Is there a simple example of using PyPlot to create animated SVG plots inline in a Jupyter notebook? Ideally, I’d like to do this without writing to a file first.