ANN: matplotlib-0.82

What's new in 0.82

Subplot configuration

  All of the parameters of the subplots are now exposed at the rc,
  pylab and API layout. These are left, right, bottom, top, wspace
  and hspace which control how the subplots are placed on the screen.
  See figure.SubplotParams, figure.Figure.subplots_adjust and the
  pylab method subplots_adjust and examples/subplots_adjust.py . Also
  added a GUI neutral widget for adjusting subplots, see
  examples/subplot_toolbar.py. There is a new toolbar button on GTK*,
  WX* and TkAgg to launch the subplot configuration tool (which uses
  the new matplotlib cross GUI classes discussed below).

  This also makes it easier to make ganged plots -- see
  examples/ganged_plots.py

  Note this required a small change to how the toolbar on some GUIs
  are imported; if you are using the mpl API in WXAgg and GTKAgg, see
  API_CHANGES.

GUI neutral widgets

  Matplotlib now has cross-GUI widgets (buttons, check buttons, radio
  buttons and sliders). You have to manually create properly sized
  Axes for them to live in, but otherwise they are pretty easy to use.
  See examples/widgets/*.py and
  http://matplotlib.sf.net/screenshots.html#slider_demo. This makes
  it easier to create interactive figures that run across backends.

Cap and join style

  Exposes line cap and join style via new rc params and Line2D
  properties

    lines.dash_joinstyle : miter # miter|round|bevel
    lines.dash_capstyle : butt # butt|round|projecting
    lines.solid_joinstyle : miter # miter|round|bevel
    lines.solid_capstyle : projecting # butt|round|projecting

Axes kwargs

  All Axes properties are now exposed via kwargs, so you can do, for
  example

   subplot(111, xlabel='time', ylabel='volts', autoscale_on=False,
           xlim=(-1,1), ylim =(0,10) )

Small bugfixes and features:

  Fixed a upper/right tick bug (thanks Baptiste), fixed invalid rc
  docstring vis-a-vis aliases, fixed bug #1217637 in ticker.py and a
  cleanup bug in usetex (thanks Darren), added Sean Richards hist bin
  fix (see API_CHANGES)

http://matplotlib.sf.net

Enjoy!
JDH

John,
Is there anything special required to get the subplot configuration tool available from QtAgg? I'm in the process of fixing that sizing problem reported last week and the only way to fix it was to change how the toolbar layout works so I'm mucking around in the toolbar right now.

I guess I'll sync and take a look at the Gtk backend and see what happens in there...

Ted

···

At 01:14 PM 6/15/2005, John Hunter wrote:

What's new in 0.82

Subplot configuration

  All of the parameters of the subplots are now exposed at the rc,
  pylab and API layout. These are left, right, bottom, top, wspace
  and hspace which control how the subplots are placed on the screen.
  See figure.SubplotParams, figure.Figure.subplots_adjust and the
  pylab method subplots_adjust and examples/subplots_adjust.py . Also
  added a GUI neutral widget for adjusting subplots, see
  examples/subplot_toolbar.py. There is a new toolbar button on GTK*,
  WX* and TkAgg to launch the subplot configuration tool (which uses
  the new matplotlib cross GUI classes discussed below).

  This also makes it easier to make ganged plots -- see
  examples/ganged_plots.py

  Note this required a small change to how the toolbar on some GUIs
  are imported; if you are using the mpl API in WXAgg and GTKAgg, see
  API_CHANGES.

GUI neutral widgets

  Matplotlib now has cross-GUI widgets (buttons, check buttons, radio
  buttons and sliders). You have to manually create properly sized
  Axes for them to live in, but otherwise they are pretty easy to use.
  See examples/widgets/*.py and
  http://matplotlib.sf.net/screenshots.html#slider_demo. This makes
  it easier to create interactive figures that run across backends.

Cap and join style

  Exposes line cap and join style via new rc params and Line2D
  properties

    lines.dash_joinstyle : miter # miter|round|bevel
    lines.dash_capstyle : butt # butt|round|projecting
    lines.solid_joinstyle : miter # miter|round|bevel
    lines.solid_capstyle : projecting # butt|round|projecting

Axes kwargs

  All Axes properties are now exposed via kwargs, so you can do, for
  example

   subplot(111, xlabel='time', ylabel='volts', autoscale_on=False,
           xlim=(-1,1), ylim =(0,10) )

Small bugfixes and features:

  Fixed a upper/right tick bug (thanks Baptiste), fixed invalid rc
  docstring vis-a-vis aliases, fixed bug #1217637 in ticker.py and a
  cleanup bug in usetex (thanks Darren), added Sean Richards hist bin
  fix (see API_CHANGES)

http://matplotlib.sf.net

Enjoy!
JDH

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
matplotlib-devel List Signup and Options

Ted Drain Jet Propulsion Laboratory ted.drain@...179...