From: John Hunter <jdhunter@ac...> - 2005-07-29 22:14:43
This is the second bug fix release of the 0.83 series, but a couple of
new features have crept in.... The notes below include all new
features in 0.83; I've just been a little slow getting them typed up
You can read these with links at
What's new in matplotlib 0.83
Added Mark Athen's 'scale' patch, so that on a scaled axis a circle
looks like circle. See help(axis).
New cursor and span selector widgets
Added new Cursor and HorizontalSpanSelector to
matplotlib.widgets. See examples/widgets/cursor.py and
examples/widgets/span_selector.py. Set useblit = True on gtkagg for
significantly enhanced performance.
You can use use matplotlib event handling to register a callback
after figure draw using 'draw_event' which calls the callback with a
#event.renderer is the backend Renderer instance
Full screen mode in GTK*
Use 'f' to toggle full screen mode in the GTK backends.
GTK and SVG fixes
Steve Chaplin has made numerous updates to the GTK and SVG
backends. See the CHANGELOG for details.
Reorganized config files
Made HOME/.matplotlib the new config dir where the matplotlibrc
file, the ttf.cache, and the tex.cache live. The new default
filenames in .matplotlib have no leading dot and are not hidden. Eg,
the new names are matplotlibrc, tex.cache, and ttffont.cache. This
is how ipython does it so it must be right. If old files are found,
a warning is issued and they are moved to the new location. Also
fixed texmanager to put all files, including temp files in
~/.matplotlib/tex.cache, which allows you to usetex in non-writable
Using matplotlib.agg to draw paths
Updated agg_test.py to demonstrate curved paths and fills.
New CocoaAgg backend for native GUI on OSX, 10.3 and 10.4 compliant.
Applied Ted Drain's QtAgg patch: 1) Changed the toolbar to be a
horizontal bar of push buttons instead of a QToolbar and updated the
layout algorithms in the main window accordingly. This eliminates
the ability to drag and drop the toolbar and detach it from the
window. 2) Updated the resize algorithm in the main window to show
the correct size for the plot widget as requested. This works almost
correctly right now. It looks to me like the final size of the
widget is off by the border of the main window but I haven't figured
out a way to get that information yet. We could just add a small
margin to the new size but that seems a little hacky. 3) Changed the
x/y location label to be in the toolbar like the Tk backend instead
of as a status line at the bottom of the widget. 4) Changed the
toolbar pixmaps to use the ppm files instead of the png files. I
noticed that the Tk backend buttons looked much nicer and it uses
the ppm files so I switched them.
Upgraded pyparsing and applied Paul McGuire's suggestions for
speeding things up. This more than doubles the speed of mathtext in
my simple tests.
Bugs fixed / small features
Applied SF patches 1242648, 1244732. Fixes SF bugs 1238412, 1231611,
1209354, subplot (2,1,1) bug,
Downloads at http://matplotlib.sourceforge.net