ANN: matplotlib 0.21 -- matlab compatible plotting in python

J

John Hunter

Announcing matplotlib 0.21 -- http://matplotlib.sourceforge.net/

Matplotlib is a pure python plotting library designed to bring
publication quality plotting to python with a syntax familiar to
matlab users. Matplotlib uses pygtk for plotting, and has been
tested on linux, UNIX and Microsoft Windows. Features include
multiple figures and subplots, anti-aliased fonts, multiple style
and color line plots, histograms, scatter plots, interactive control
of plots, and more. matplotlib uses Numeric, with extensive use of
data clipping, and so is suitable for use with interactive plotting
of large data sets.

What's new in matplotlib 0.21

Deprecation warnings fixed -- Several users reported deprecation
warnings with python2.3 and pygtk 1.99.18. These were all related to
passing floats rather than ints to gtk drawing commands. These have
been cleaned up and none of the examples generate wanings. Let me
know if you get some!

Improved interactive shell -- Jon Anderson posted an improved GTK
shell to the pygtk mailing list. Using this no longer requires that
pygtk have threading built in. See interactive2.py. Use this if you
want to make plots interactively from the python shell.

Specifying colors -- You can now specify colors with color format
strings, RGB tuples, or hex strings as in html. See color_demo.py

Figure text -- All text in matplotlib has previously been in axis
(data) coordinates. Sometimes it's helpful to be able to specify
text in figure (relative) coordinates. Now figures also have
text. When you scroll interactively, axis text moves with the data,
figure text is fixed. This is also useful for making a figure title
when you have multiple columns of subplots. See figtext.py

Flicker free updates -- All drawing is done to a pixmap and then
updated. This allows flicker free updates of the figure. You can use
this, for example, to build a system monitor, which continuously
shows system resources such as RAM, CPU, etc... See
system_monitor.py for a demo.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,007
Latest member
obedient dusk

Latest Threads

Top