Matplotlib

This is an old revision of this page, as edited by CmdrObot (talk | contribs) at 00:19, 18 September 2006 (sp: embeded→embedded). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Matplotlib is a plotting library for Python which uses syntax similar to MATLAB. It was written by John Hunter.

The library provides a "pylab" interface which is procedural and based on a state machine, like OpenGL. There is also an OOP interface which has less thorough documentation and greater complexity.

Using the OOP interface, matplotlib plots can be embedded in applications using generic GUI toolkits like wxPython, Qt or GTK.

Compare to

File:Matplotlib-gtk.png


Image of an embedded Matplotlib plot within a GTK application (pyGTK)