Book Image

Interactive Applications using Matplotlib

Book Image

Interactive Applications using Matplotlib

Overview of this book

Table of Contents (12 chapters)

Summary


We have come a long way in this chapter learning about the Matplotlib events and the built-in callback system. Our project application has grown in complexity significantly, requiring multiple refactors along the way. First, we connected to Matplotlib's GUI-based event system, particularly the key press and pick events. We also learned how to disconnect a callback function, both our own and Matplotlib's default keymap handler.

Then, you learned how to develop a more general keymap handler that even manages its own help documentation that could be produced on demand. After that, we added in a similar artist pick handler that allowed for different kinds of pickers to be used. With these two controllers working independently of each other, they were able to produce interactive features that they could not do on their own.

Next, we took a step back from our project and re-examined its goals as a storm track/cell editor. We examined the implications and the ease of conflating data and display...