Re: [matplotlib-devel] Cairo backend prospects

2007-01-07 Thread Steve Chaplin
On Sat, 2007-01-06 at 09:23 -1000, Eric Firing wrote: > Steve, > > Darren Dale raised a question offline that I think will be of general > interest to mpl devels, and that you are the person to answer: > > How do you see the future of a cairo backend as a prospective > replacement for most or a

Re: [matplotlib-devel] Cairo backend prospects

2007-01-08 Thread Steve Chaplin
On Mon, 2007-01-08 at 10:09 -0600, John Hunter wrote: > >>>>> "Steve" == Steve Chaplin <[EMAIL PROTECTED]> writes: > Steve> My general impression of the cairo "surfaces" is: > Steve> ImageSurface/png - support is very good gtk/xlib -

Re: [matplotlib-devel] Cairo backend prospects

2007-01-10 Thread Steve Chaplin
On Mon, 2007-01-08 at 11:24 -0500, Darren Dale wrote: > > > What would need to be done in mpl, and how hard would it be? > > > > The cairo backend can already be used for png, ps, pdf and gtk output so > > I don't think there would be much to do. Mostly, it needs testing - > > running all the mpl

Re: [matplotlib-devel] Cairo backend prospects

2007-01-10 Thread Steve Chaplin
On Wed, 2007-01-10 at 11:55 -0600, John Hunter wrote: > >>>>> "Steve" == Steve Chaplin <[EMAIL PROTECTED]> writes: > > Steve> Matplotlib does use a lot of relative imports which I think > Steve> is bad style. > > Steve>

Re: [matplotlib-devel] Cairo backend prospects

2007-01-11 Thread Steve Chaplin
On Mon, 2007-01-08 at 11:24 -0500, Darren Dale wrote: > I only had a short time to work with backend_gtkcairo, but a couple of things > caught my attention. mathtext support seemed to need some improvement, it > looked like it was rendered as an image rather than as text. Also, > imshow(rand(10

Re: [matplotlib-devel] Cairo backend prospects

2007-01-11 Thread Steve Chaplin
On Thu, 2007-01-11 at 08:50 -0600, John Hunter wrote: > >>>>> "Steve" == Steve Chaplin <[EMAIL PROTECTED]> writes: > > Steve> On Mon, 2007-01-08 at 11:24 -0500, Darren Dale wrote: > >> I only had a short time to work with backend

Re: [matplotlib-devel] Cairo backend prospects

2007-01-11 Thread Steve Chaplin
On Thu, 2007-01-11 at 09:56 -0600, John Hunter wrote: > >>>>> "Steve" == Steve Chaplin <[EMAIL PROTECTED]> writes: > Steve> This is the official definition from the manual: > Steve> CAIRO_FORMAT_ARGB32 each pixel is a 32-bit quantity, with &g

Re: [matplotlib-devel] Cairo backend prospects

2007-01-14 Thread Steve Chaplin
On Thu, 2007-01-11 at 00:01 -0700, Fernando Perez wrote: > On 1/10/07, Steve Chaplin <[EMAIL PROTECTED]> wrote: > > On Mon, 2007-01-08 at 11:24 -0500, Darren Dale wrote: > > > > I had to alter the following lines from backend_gtkcairo, from > > > > > >

Re: [matplotlib-devel] Cairo backend prospects

2007-01-15 Thread Steve Chaplin
On Fri, 2007-01-12 at 08:44 -0600, John Hunter wrote: > >>>>> "Steve" == Steve Chaplin <[EMAIL PROTECTED]> writes: > > Steve> I propose this new version of buffer_bgra32 (and > Steve> buffer_argb32). I tested it with cairo and it se

Re: [matplotlib-devel] IPython problem

2007-01-15 Thread Steve Chaplin
On Mon, 2007-01-15 at 08:26 -0700, Fernando Perez wrote: > Those lines also work fine from an ipython prompt: > > In [1]: from matplotlib.backends import backend_cairo > > In [2]: from matplotlib.backends.backend_gtk import * They work, but they are not relevant to this problem. Darren has confu

Re: [matplotlib-devel] cairo patch #4: Fix draw_arc

2007-07-08 Thread Steve Chaplin
Carl, I've not been following the matplotlib mailing lists recently, but I came across your blog and had a look at the cairo patches. It looks like all the cairo patches are against some old version of matplotlib. patch #2 enable clipping I enabled clipping in Jan-2007. patch #1 for 'snapping' Th