Alright, before I go to bed, I found the following line in src/_backend_agg.cpp at line 709 (in draw_markers()) makes all the difference:
set_clipbox(gc.cliprect, rendererBase); Commenting out this line fixes my problem. I'm not sure why it's a problem, (maybe a missing restore to previous state somewhere?). I'll look into this tomorrow, but it would probably be a lot easier with someone familiar with the code. Ryan On Sat, Jul 3, 2010 at 12:33 AM, Ryan May <rma...@gmail.com> wrote: > Hi, > > I've been debugging this for hours now and could really use the help > of someone smarter than me. In working on blitting with animations, > I've run into a problem when trying to use blitting + multiple > subplots + lines with markers. It's an esoteric combination to be > sure, but I have a script (attached) that demonstrates my problem. As > far as I can tell, the addition of a marker to a line object causes to > canvas.restore_region() to no longer function (I've paused the > animation, after a blit to flush the draw, after every stage). The > data in the region saved from copy_from_bbox is fine, but calling > restore_region() with it has no effect. Removing marker from the line > specification causes the problem to disappear. The net effect of the > problem is that the other subplot (than the one with the marker) does > not have the previous draw cleared, resulting in a smearing effect. > > Anybody have a clue? > > Ryan > > -- > Ryan May > Graduate Research Assistant > School of Meteorology > University of Oklahoma > -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel