On Wed, Jul 29, 2009 at 4:38 AM, John Hunter <firstname.lastname@example.org> wrote:
This is what the animation/blit api is designed to do:On Wed, Jul 29, 2009 at 1:01 AM, Art<email@example.com> wrote:
> I have a scatter plot that requires some time to render. The horizontal axis
> is time. Currently, I generate the full scatter plot each time and draw a
> axvline to indicate the progress of time, save the file as a png for each
> time, and generate a movie for all time frames. The scatter plot portion
> doesn't change, just the vertical line.
> I was wondering if there was a way to speed this up, to generate the scatter
> plot once and then overlay it with a moving axvline. I would still have to
> save the png frame by frame, but the most expensive step by far is
> replotting the scatter plot over and over.
scipy.org appears down right now, so you may need to try again later.
See also these mpl examples: