O'Reilly logo

Matplotlib for Python Developers by Sandro Tosi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Embedding Matplotlib in a Glade application

Glade is a user interface designer that allows to create and edit user interfaces for GTK+ applications.

Glade is used to place GTK+ widgets in a GUI, and change the layout or the properties of each widget. It also allows to add connections between those widgets and the application code.

Glade stores the GUI design in an XML format, and by using libglade, Glade XML files can be dynamically loaded in applications developed in several programming languages (Python included).

The example we are going to present is about counting the letters in a file and then plotting the result. If you have ever studied basic cryptography, you were taught that e is the most common letter in the English writings—this is ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required