Re: [Matplotlib-users] [matplotlib-devel] New flags in IPython, of interest to matplotlib users

2007-12-12 Thread Fernando Perez
On Dec 12, 2007 7:16 AM, Paul Kienzle <[EMAIL PROTECTED]> wrote: > I'm curious about the term 'threading backend'. > > Recently I posted a question about how to handle slow plots, suggesting > that the backend canvas have an isabort() method so that the renderer > can stop what it is doing and post

Re: [Matplotlib-users] setting figure extent to only include extent of Axes

2007-12-12 Thread Jeff Whitaker
Michael Hearne wrote: > All: I have an issue I'm hoping someone here can help with. I've > created a encapsulated postscript figure from pylab (basemap, > actually, but it shouldn't make a difference), and I'd like to have > the entire saved image be the extent of the axes, with no border > w

Re: [Matplotlib-users] new location of home.ppm

2007-12-12 Thread John Hunter
On Dec 12, 2007 1:29 PM, Mark Bakker <[EMAIL PROTECTED]> wrote: > It seems that in the latest version (0.9.1) the location of the images, such > as home.ppm, has moved to a new directory. > It used to be in ...\mpl-data and now it is in ...\mpl-data\images > > This totally breaks my code, as I use

Re: [Matplotlib-users] setting figure extent to only include extent of Axes

2007-12-12 Thread Michael Droettboom
You can set the position of the axes with "set_position" and give it a list of the form [l, b, w, h], where the values range from 0 to 1. e.g.: gca().set_position([0, 0, 1, 1]) Cheers, Mike Michael Hearne wrote: > All: I have an issue I'm hoping someone here can help with. I've > created

[Matplotlib-users] setting figure extent to only include extent of Axes

2007-12-12 Thread Michael Hearne
All: I have an issue I'm hoping someone here can help with. I've created a encapsulated postscript figure from pylab (basemap, actually, but it shouldn't make a difference), and I'd like to have the entire saved image be the extent of the axes, with no border whatsoever. Is there a way t

Re: [Matplotlib-users] CocoaAgg backend status?

2007-12-12 Thread Christopher Barker
Barry Wark wrote: > We're just hoping to integrate the > plot output with the Quartz rendeirng system more completely -- a very > platform specific goal. Fair enough, and MPL as a whole could learn from your work too. Do please report your progress. -Chris -- Christopher Barker, Ph.D. Oceanog

Re: [Matplotlib-users] RuntimeError after clearing and plotting for many times

2007-12-12 Thread Armando Serrano Lombillo
Ok, I've just read the thread "Repeated calls to set_text using TeX formatting results in RuntimeError" which looked very similar to our problem and after applying the fix which is suggested there by Michael Droettboom (see below), the problem seems to disappear. Let's hope this gets fixed in 0.91.

Re: [Matplotlib-users] RuntimeError after clearing and plotting for many times

2007-12-12 Thread Armando Serrano Lombillo
I'm running into the very same problem. I'm using matplotlib from a wxPython application, the same versions as you (Yongtao Cui), and I get the same error (see below) after repainting a figure many times. In my case I plot several figures (16 figures) and I get the error with very few repaintings.

[Matplotlib-users] new location of home.ppm

2007-12-12 Thread Mark Bakker
Hello - It seems that in the latest version (0.9.1) the location of the images, such as home.ppm, has moved to a new directory. It used to be in ...\mpl-data and now it is in ...\mpl-data\images This totally breaks my code, as I use my own toolbar that uses these images, with a hardcoded location

Re: [Matplotlib-users] CocoaAgg backend status?

2007-12-12 Thread Christopher Barker
sorry to be a wet blanket, but... Barry Wark wrote: > going "native" for rendering would allow mpl > to integrate more smoothly with the rest of the 2D and 3D MPL is really only a 2D system -- there's been talk of the next generation version building 3D in, but we're really not there yet. > a

Re: [Matplotlib-users] can matplotlib do this?

2007-12-12 Thread Jeff Whitaker
mbauer wrote: > Thanks Jeff, > > To clarify, I'm sampling a numpy array (regular lon/lat grid) and > extracting a series of same size frames (say 60 longitude grids and 30 > latitude grids) around a feature of interest, which can be centered > somewhere on the map. What I want to do is accumulat

Re: [Matplotlib-users] can matplotlib do this?

2007-12-12 Thread mbauer
Thanks Jeff, To clarify, I'm sampling a numpy array (regular lon/lat grid) and extracting a series of same size frames (say 60 longitude grids and 30 latitude grids) around a feature of interest, which can be centered somewhere on the map. What I want to do is accumulate statistics with th

Re: [Matplotlib-users] CocoaAgg backend status?

2007-12-12 Thread Michael Droettboom
All this sounds great. There has been some (off-list) discussion recently about making it easier to support third-party backends (i.e. backends that are maintained separately from the rest of the matplotlib tree). This Quartz backend may be a good test candidate for that (though I wouldn't wo

[Matplotlib-users] New flags in IPython, of interest to matplotlib users

2007-12-12 Thread Fernando Perez
Hi all, This was posted to the ipython-dev list, but since it's specifically for MPL, I figured the cross-list spam would be forgiven. In IPython SVN, I just added the ability to manually control the pylab threading backend choice directly from the command line. So for example if by default you