Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Interactive Applications using Matplotlib

You're reading from  Interactive Applications using Matplotlib

Product type Book
Published in Mar 2015
Publisher
ISBN-13 9781783988846
Pages 174 pages
Edition 1st Edition
Languages

Summary


We have seen how easy it is to integrate an animation into any Matplotlib application. Using FuncAnimation, we were able to simulate a user stepping through the frames of our application and save it as an animated GIF. Furthermore, we saw how to control the speed of the animation, whether or not the animation should loop, and if so, how much of a delay should be inserted between loops. Besides function-based animations, the ArtistAnimation class was introduced as a simple alternative animator, discussing the pros and cons of each. As we became more advanced in our animation usage, we were able to create and synchronize multiple animation instances, allowing developers to mix together the desired animation elements.

We also covered other advanced animation topics, such as how animation objects in Matplotlib work, in particular, the timers in the animator classes. We discussed why Matplotlib's cross-platform timer object is necessary and how it works for interactive sessions. Taking...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}