Re: [matplotlib-devel] Path length in the cairo backend

2010-02-27 Thread Michiel de Hoon
oon > Subject: Re: [matplotlib-devel] Path length in the cairo backend > To: "Eric Firing" > Cc: matplotlib-devel@lists.sourceforge.net > Date: Monday, February 22, 2010, 9:09 PM > Yes I tried without path > simplification, and I don't get any crashes. If we need

Re: [matplotlib-devel] Path length in the cairo backend

2010-02-22 Thread Michiel de Hoon
so we know how many points will actually be drawn. --Michiel. --- On Mon, 2/22/10, Eric Firing wrote: > From: Eric Firing > Subject: Re: [matplotlib-devel] Path length in the cairo backend > To: "Michiel de Hoon" > Cc: matplotlib-devel@lists.sourceforge.net > Date: Mond

Re: [matplotlib-devel] Path length in the cairo backend

2010-02-22 Thread Eric Firing
Michiel de Hoon wrote: > Dear all, > > The draw_path method in backend_cairo.py starts with a check for the number > of vertices in the path, and raises an error if the path contains more than > 18980 vertices: > > def draw_path(self, gc, path, transform, rgbFace=None): > if len(p

Re: [matplotlib-devel] Path length in the cairo backend

2010-02-22 Thread Michael Droettboom
Sorry -- I meant remove the check for cairo >= 1.8. Michael Droettboom wrote: > Can you write it in such a way that the check is only removed on cairo < > 1.8? My employer is still standardized on RHEL4, for example, which has > cairo 1.2. > > Mike > > Michiel de Hoon wrote: > >> Dear all, >

Re: [matplotlib-devel] Path length in the cairo backend

2010-02-22 Thread Michael Droettboom
Can you write it in such a way that the check is only removed on cairo < 1.8? My employer is still standardized on RHEL4, for example, which has cairo 1.2. Mike Michiel de Hoon wrote: > Dear all, > > The draw_path method in backend_cairo.py starts with a check for the number > of vertices in

[matplotlib-devel] Path length in the cairo backend

2010-02-19 Thread Michiel de Hoon
Dear all, The draw_path method in backend_cairo.py starts with a check for the number of vertices in the path, and raises an error if the path contains more than 18980 vertices: def draw_path(self, gc, path, transform, rgbFace=None): if len(path.vertices) > 18980: rai