- What is Matplotlib?
- There is a book!
Interactive Applications using Matplotlib by Ben Root
"Learn how Lincoln could use Matplotlib to save the Earth from hordes of ravenous space ware-rabbits! Just plotting your data won't save the world, but turning your plots into interactive applications will help your users explore their data and gain greater insight into their problems. This book will walk the reader through the process of turning a simple radar viewer into a useful hazardous event tracker, so you too can spot where the space ware-rabbits are going to strike next!"
* Hello World
- layers of mpl
- figure / axes / artist vs canvas distinction
- figure vs figure manager vs canvas
* Building simple user interactions
- using globals (bad, but easy)
- using classes (good)
* Event Filtering
- use an object with several methods, hook them all up to events
- look at the values in the events to decide what to do
- hold an artist as state and mutate on user input
- Use the built-in picking features for selecting features
- Annotate your plots
* Custom Plotting
- matplotlib's API is low level
- write the API you need for your data (inside of which you bring your data to the API)
* Final Product
- a fully functioning 'app'
- what else could you make it do?
Bio: Ben Root has been a member of the Matplotlib development team since 2010. He maintains the mplot3d and basemap toolkits for Matplotlib, but spends most of his efforts on code reviews and debugging. Ben given several presentations and tutorials, namely "Anatomy of Matplotlib" and "Introduction to the SciPy Ecosystem". He has also authored the book "Interactive Applications Using Matplotlib". A meteorologist by training, Ben currently works as a scientific programmer at Atmospheric and Environmental Research, Inc.
Scientific Programmer at Atmospheric and Environmental Research, Inc.