FuncAnimation and persistence - matplotlib-devel - Matplotlib
FuncAnimation and persistence Development matplotlib-devel Amit_Saha December 28, 2014, 12:25pm 1 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 Benjamin_Root1 December 30, 2014, 6:53pm 2 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.in@…149…> 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 [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-devel Amit_Saha January 1, 2015, 10:16am 3 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! Thanks a lot Benjamin! Very helpful indeed. ··· On Wed, Dec 31, 2014 at 4:53 AM, Benjamin Root < [email protected] ...> wrote: I hope that clears it up! Ben Root On Sun, Dec 28, 2014 at 7:25 AM, Amit Saha < [email protected] ...> 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] Animations & Object Persistence · Issue #1656 · matplotlib/matplotlib · GitHub -- 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 [email protected] matplotlib-devel List Signup and Options --