Interactive Applications Using Matplotlib
Use the Amazon App to scan ISBNs and compare prices.
Don't just see your data, experience it!
About This Book
- Bring your users and your data closer with interactive visualizations using Matplotlib and Python
- Create user interfaces from scratch without needing a GUI toolkit, or insert new visualizations into your existing applications
- Pick up interactive aspects of Matplotlib and learn how widgets can be used to interact visually with data
Who This Book Is For
This book is intended for Python programmers who want to do more than just see their data. Experience with GUI toolkits is not required, so this book can be an excellent complement to other GUI programming resources.
What You Will Learn
- Add keymaps, mouse button actions, and custom events to your application
- Build and record animations of your plots
- Enhance your data display with buttons,sliders, and other widgets
- Insert Matplotlib figures into any GUI application
- Create a session recorder for your application
- Learn about Matplotlib's event handler to add custom events
- See Matplotlib as more than just a plotting library
In Detail
Matplotlib makes it easy to generate plots, histograms, power spectra, bar charts, error charts, and other kinds of plots, with just a few lines of code.
Interactive Applications Using Matplotlib will teach you how to turn your plots into fully interactive applications for data exploration and information synthesis. After being introduced to the plotting library, you'll learn how to create simple figures and come to grips with how they work. After these first steps, we will start work on a weather radar application.
Next, you will learn about Matplotlib's event handler to add not only keymaps and mouse actions but also custom events, enabling our radar application to transition from a simple visualization tool into a useful severe storm tracking application, complete with animations and widgets. The book will conclude with enhancements from the GUI toolkit of your choice.
Customers who viewed this item also viewed
Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Product details
- Publisher : Packt Publishing (March 24, 2015)
- Language : English
- Paperback : 174 pages
- ISBN-10 : 1783988843
- ISBN-13 : 978-1783988846
- Item Weight : 10.9 ounces
- Dimensions : 7.5 x 0.4 x 9.25 inches
- Best Sellers Rank: #963,886 in Books (See Top 100 in Books)
- #635 in Data Modeling & Design (Books)
- #645 in Computer Graphics
- #847 in Graphics & Multimedia Programming
- Customer Reviews:
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonTop reviews from the United States
There was a problem filtering reviews right now. Please try again later.
You could possibly get the same information from user manuals, blog posts and such like given enough time, but this book makes it easy to grasp the information and be quickly productive.
Here's an excerpt that describes my story quite well:
"""
Indeed, given that the primary audience for Matplotlib is scientific programmers for whom GUIs are, at best, an afterthought, Matplotlib provides a gradual curve to create full-fledged GUI applications. For simple GUI tasks, one can go quite far with Matplotlib without ever having to adopt a GUI platform. And, as we will see in the next chapter, taking those final steps into a GUI application would not require getting rid of any existing code.
"""
If you're a scientist looking to add a bit of interactivity to your data, or to move from a purely command-line interface to providing some graphical interactivity and control, this is a fantastic book to start with. Even if you end up using some newer frameworks such as Bokeh, the ideas in this book about GUI loops and callbacks will be useful forever.






