Re: [matplotlib-devel] Backends object structure

2012-08-01 Thread Anton Akhmerov
To give a little bit more context, I want to implement a function which attaches a figure constructed via OO interface to pyplot. It seems that the only way to do so now is to go over all the backends, modify new_figure_manager to accept a figure argument, detect the backend used by pyplot, and u

[matplotlib-devel] Backends object structure

2012-08-01 Thread Anton Akhmerov
Hi everyone, I was looking at the matplotlib backends, and I have a question about the way things are organized. As of now every backend has: * FigureManager, which corresponds to a figure + canvas + renderer + sometimes FigureFrame. * Canvas, which contains a single figure and a renderer. Th

Re: [matplotlib-devel] backends/_tkagg.so: undefined symbol

2009-02-03 Thread Michael Droettboom
Sorry -- that was caused by my moving of C++ code around yesterday. Please update and try again. You may need to remove your build directory and do a full rebuild. Cheers, Mike Nils Wagner wrote: > Hi all, > > I am using latest svn. > My script worked until last week. If I run it now > > matp

[matplotlib-devel] backends/_tkagg.so: undefined symbol

2009-02-03 Thread Nils Wagner
Hi all, I am using latest svn. My script worked until last week. If I run it now matplotlib version 0.98.6svn verbose.level helpful interactive is False units is False platform is linux2 Using fontManager instance from /data/home/nwagner/.matplotlib/fontList.cache Traceback (most recent call las

Re: [matplotlib-devel] Backends status on transforms branch

2007-11-09 Thread Michael Droettboom
Michael Droettboom wrote: > Christopher Barker wrote: >> Michael Droettboom wrote: >>> Wx supports polycurves in its new wxGraphicsContext API (but not the >>> wxDC API that mpl uses now). This means a fairly complete rewrite of >>> the wx backend, >> not necessarily. You can create a GraphicsCo

Re: [matplotlib-devel] Backends status on transforms branch

2007-11-08 Thread Ken McIvor
On Nov 8, 2007, at 10:23 AM, Michael Droettboom wrote: > > So, we need to look at the pros/cons of continuing to support these > legacy APIs going forward. I've got some more benchmarks for the WX and WXAgg backends in trunk. It looks like using ssh with compression or the NX remote desktop b

Re: [matplotlib-devel] Backends status on transforms branch

2007-11-08 Thread Michael Droettboom
Christopher Barker wrote: > Michael Droettboom wrote: >> Wx supports polycurves in its new wxGraphicsContext API (but not the >> wxDC API that mpl uses now). This means a fairly complete rewrite of >> the wx backend, > > not necessarily. You can create a GraphicsContext from a wx.DC, you may >

Re: [matplotlib-devel] Backends status on transforms branch

2007-11-08 Thread Ken McIvor
On Nov 8, 2007, at 12:17 PM, Christopher Barker wrote: > > I wonder if there is another way to speed that up with Agg -- can you > compress the bitmap data to pass it to the Xserver? is that happening > already? I'm not aware of any obvious method for enabling compression in remote X11 connectio

Re: [matplotlib-devel] Backends status on transforms branch

2007-11-08 Thread Eric Firing
Michael Droettboom wrote: > Gael Varoquaux wrote: >> On Thu, Nov 08, 2007 at 11:23:54AM -0500, Michael Droettboom wrote: >>> So, we need to look at the pros/cons of continuing to support these >>> legacy APIs going forward. >> IMHO a gtk and a wx back end are very important for embedding MPL in >>

Re: [matplotlib-devel] Backends status on transforms branch

2007-11-08 Thread Christopher Barker
Michael Droettboom wrote: > Wx supports polycurves in its new wxGraphicsContext API (but not the > wxDC API that mpl uses now). This means a fairly complete rewrite of > the wx backend, not necessarily. You can create a GraphicsContext from a wx.DC, you may be able to just add that step for dr

Re: [matplotlib-devel] Backends status on transforms branch

2007-11-08 Thread Michael Droettboom
Gael Varoquaux wrote: > On Thu, Nov 08, 2007 at 11:23:54AM -0500, Michael Droettboom wrote: >> So, we need to look at the pros/cons of continuing to support these >> legacy APIs going forward. > > IMHO a gtk and a wx back end are very important for embedding MPL in > applications. I am sure you ha

Re: [matplotlib-devel] Backends status on transforms branch

2007-11-08 Thread Gael Varoquaux
On Thu, Nov 08, 2007 at 11:23:54AM -0500, Michael Droettboom wrote: > So, we need to look at the pros/cons of continuing to support these > legacy APIs going forward. IMHO a gtk and a wx back end are very important for embedding MPL in applications. I am sure you have a replacement proposition, bu

[matplotlib-devel] Backends status on transforms branch

2007-11-08 Thread Michael Droettboom
The following drawing backends are functional on the transforms branch: Agg Ps Pdf * Svg Cairo * * These could still use some optimizations to draw_markers and/or draw_path_collection. Now onto the "problem" ones. I had asked on the mailing list a while

Re: [matplotlib-devel] backends

2006-07-10 Thread John Hunter
> "John" == John Hunter <[EMAIL PROTECTED]> writes: John> Last I checked if I recall correctly, about a year ago, the John> PS backend merely dumped a raster image and didn't do real John> vector graphics. Has this changed? Looks like it has: http://lwn.net/Articles/189905

Re: [matplotlib-devel] backends

2006-07-10 Thread John Hunter
> "Christopher" == Christopher Barker <[EMAIL PROTECTED]> writes: Christopher> Just as a note, if you have Cairo, you have PS, PDF, Christopher> SVG, raster, and, indeed, native draw-to-the-screen Christopher> functionality. Last I checked if I recall correctly, about a year ago, t

Re: [matplotlib-devel] backends

2006-07-10 Thread Christopher Barker
John Hunter wrote: > I've talked with Eric Jones many times about the desirability > of sharing a single low-level drawing model, probably based on > PDF/KIVA, that have backends for PS, SVG, PDF and one raster format > (eg Agg or Cairo). Just as a note, if you have Cairo, you have PS, PDF, SVG,

Re: [matplotlib-devel] backends

2006-07-09 Thread John Hunter
> "Robert" == Robert Hetland <[EMAIL PROTECTED]> writes: Robert> I'm not suggesting immediate development for a PDF backend Robert> (although if it came automatically with kiva, I would use Robert> it), I think eps +ghostscript is good enough for now. As you may know, we have a pr

Re: [matplotlib-devel] backends

2006-07-09 Thread Robert Hetland
On Jul 7, 2006, at 5:16 PM, John Hunter wrote:PDF is certainly an important document format, but it doesn't seem to be widely used for figures. I only use PDF figures.  They are useful both in pdflatex (how I write), and play nice with all of the other mac utilities, in particular Keynote (how I pr

Re: [matplotlib-devel] backends

2006-07-07 Thread Darren Dale
On Friday 07 July 2006 17:16, John Hunter wrote: > > "Gaël" == Gaël Varoquaux <[EMAIL PROTECTED]> writes: > > Gaël> On Fri, Jul 07, 2006 at 03:46:01PM -0500, John Hunter wrote: > >> Ideally, I would like to see PS, SVG, Agg and > >> [Tk|GTK|WX|Qt|FLTK]Agg and no more. But I know th

Re: [matplotlib-devel] backends

2006-07-07 Thread Fernando Perez
On 7/7/06, John Hunter <[EMAIL PROTECTED]> wrote: > > "Gaël" == Gaël Varoquaux <[EMAIL PROTECTED]> writes: > > Gaël> On Fri, Jul 07, 2006 at 03:46:01PM -0500, John Hunter wrote: > >> Ideally, I would like to see PS, SVG, Agg and > >> [Tk|GTK|WX|Qt|FLTK]Agg and no more. But I know t

Re: [matplotlib-devel] backends

2006-07-07 Thread John Hunter
> "Gaël" == Gaël Varoquaux <[EMAIL PROTECTED]> writes: Gaël> On Fri, Jul 07, 2006 at 03:46:01PM -0500, John Hunter wrote: >> Ideally, I would like to see PS, SVG, Agg and >> [Tk|GTK|WX|Qt|FLTK]Agg and no more. But I know that other >> people feel differently. Gaël> pd

Re: [matplotlib-devel] backends

2006-07-07 Thread Gaël Varoquaux
On Fri, Jul 07, 2006 at 03:46:01PM -0500, John Hunter wrote: > Ideally, I would like to see PS, SVG, Agg and [Tk|GTK|WX|Qt|FLTK]Agg > and no more. But I know that other people feel differently. pdf seems very important to me. Just my two cents, Gaël Using Tomcat but need to do

Re: [matplotlib-devel] backends

2006-07-07 Thread Gaël Varoquaux
This question triggers another one from myself (that was raised by colleagues). I know that there is some traits lying in mpl. Will there be one day some traitsUI code too, to generate GUI to modify properties of objects one the display ? This is fully related to backends. I find that

Re: [matplotlib-devel] backends

2006-07-07 Thread John Hunter
> "Eric" == Eric Firing <[EMAIL PROTECTED]> writes: Eric> John, All this brings to mind something I wanted to bring up Eric> anyway: we have a proliferation of backends, and occasional Eric> requests for more--are there any we can simply drop now, or Eric> soon? For example, g

[matplotlib-devel] backends

2006-07-07 Thread Eric Firing
John, All this brings to mind something I wanted to bring up anyway: we have a proliferation of backends, and occasional requests for more--are there any we can simply drop now, or soon? For example, gd? And what are the prospects that several backends could be consolidated via cairo? And/or