There is no better way to do this at the moment. There have been talk of
integrating the animation interface into Figure objects so that creating an
animation would be similar to creating any other type of plot, with
references to the animation object stored in the figure like any other
Artist.
The basic rule of thumb is, if you are using a constructor, then assign the
constructed object somewhere!
I hope that clears it up!
Ben Root
On Sun, Dec 28, 2014 at 7:25 AM, Amit Saha <amitsaha...@gmail.com> wrote:
> Hi all,
>
> I realize that once I create a FuncAnimation object, I must assign it
> to a label to make it persist [1]. Is this going to remain the case in
> the foreseeable future? Is there a better way of doing this now?
>
> Thanks,
> Amit.
>
>
> [1] https://github.com/matplotlib/matplotlib/issues/1656
>
> --
> http://echorand.me
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> _______________________________________________
> Matplotlib-devel mailing list
> Matplotlib-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel