Re: [matplotlib-devel] Mixed-mode rendering

2008-05-08 Thread Michael Droettboom
Personally, I like the use of decorators for this -- it seems to be a nice clean tool for the job -- but it could be controversial. Fortunately, this is a nice self-contained usage that could be considered an experimental foray into decorators, and it doesn't affect outward-facing code. As for a

Re: [matplotlib-devel] Mixed-mode rendering

2008-05-05 Thread Michael Droettboom
Thanks for having a second look at this, Eric. I consider mixed-mode drawing somewhat of an experiment at this point -- it's still an open question whether it should be included in the next release, and definitely needs more use cases. It is currently only used in the trunk by quad meshes. I

Re: [matplotlib-devel] Mixed-mode rendering

2008-05-04 Thread John Hunter
On Sat, May 3, 2008 at 11:44 PM, Eric Bruning <[EMAIL PROTECTED]> wrote: > The switch to/from raster mode was made in Axes.draw, where the artists for > each axes are looped over. In the artist loop, I check if the artist to be > rendered is listed in the draw_raster attribute on the renderer inst