Embedding Matplotlib in graphical user interfaces#
You can embed Matplotlib directly into a user interface application byfollowing the embedding_in_SOMEGUI.py examples here. CurrentlyMatplotlib supports PyQt/PySide, PyGObject, Tkinter, and wxPython.
When embedding Matplotlib in a GUI, you must use the Matplotlib APIdirectly rather than the pylab/pyplot procedural interface, so take alook at the examples/api directory for some example code working withthe API.