Previously in this book, we have conflated the canvas and figure terms, at best giving an impression that the figure object was merely a container for the canvas object. When working above the canvas level, this conceptual model is sufficient. The truth, however, is more complicated. There are actually three objects in play: figure, canvas, and manager. We encountered the manager briefly in one of the examples in the previous chapter. While I would love to describe a very clean and inspired design involving these three objects, that would not be possible. Abstraction layers that hide away messy details are never simple. Initial appearances can often be misleading in understanding the relationships between them. Our discussion of the design should bring about a new level of clarity in how Matplotlib truly works, and hopefully some inspiration in new ways to use the library.
Interactive Applications Using Matplotlib
Interactive Applications Using Matplotlib
Overview of this book
Table of Contents (12 chapters)
Interactive Applications Using Matplotlib
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Introducing Interactive Plotting
Using Events and Callbacks
Animations
Embedding Matplotlib
Index
Customer Reviews