Allow window resizing by PyplotViewer

by using matplotlib.animation.FuncAnimation class which handles
the drawing. Since we use blit=True the redrawing is even a little
faster.
PyplotViewer._run is private