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

Built-in widgets

A design principle adopted early on by Matplotlib was one of interoperability. It shouldn't matter which GUI you are using; everything should just simply work. Therefore, Matplotlib provides a basic set of widgets that are entirely implemented using Matplotlib's interactivity framework. All of the built-in widgets are implemented using nothing more than what we have covered in this book so far. While these widgets may not be the most aesthetically pleasing ones, they will work in any interactive environment that you use for regular plotting.

Conceptually, many widgets emit specialized events that can have callbacks attached by developers. However, the mechanism to attach these callbacks is much more direct than the more generalized event handling that we worked with back in Chapter 2, Using Events and Callbacks. This makes working with widgets accessible to inexperienced programmers who are yet to learn how to create a GUI application.

Indeed, given that the primary...

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