Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Interactive Applications using Matplotlib

You're reading from   Interactive Applications using Matplotlib

Arrow left icon
Product type Paperback
Published in Mar 2015
Publisher
ISBN-13 9781783988846
Length 174 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

The revelation

You have had a moment to ponder the question about the toolbar buttons. Some of you may have even gone back to the application, and ran it using different backends, realizing that all the toolbars follow their respective backend's style. That would mean that it is somehow possible to include GUI-specific elements into our Matplotlib application. Or perhaps it is the Matplotlib figure that is the odd one out, with it being included into a tiny GUI application that is the backend?

Indeed, this whole time, you have been embedding Matplotlib figures into a GUI!

Everything in Matplotlib builds off the figure's canvas object. That canvas is the interface layer between the user and the backends. By staying above this layer, most of the messy details about GUI applications have been tucked away, keeping the user focused on their plotting tasks. Matplotlib's appeal is in giving the user a plot in as little as three lines of code: the import, the plot, and the show. Not...

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 $19.99/month. Cancel anytime
Banner background image