On Tue, Aug 4, 2009 at 5:33 AM, Jonathan Demaeyer<jonathan5...@hotmail.com> wrote: > Hello, > > Thank you for your answer. When I explicitly give None as renderer argument, > everything work well. > Now I guess the question is why the default value is not used by the method? >
The Axes.draw is the only the "draw" method that has a default value for renderer argument. Well, we'd better have a separate decoratorfor Axes.draw. > By the way, rasterization support wasn't introduced earlier than the 0.98.3 > version? Yes, the rasterization support was there for a while. I was talking about the support for rasterization "per aritst" by decorating the draw methods of individual artists. -JJ > > Regards, > > Jonathan > > > Jae-Joon Lee a écrit : >> I guess this is related with the decorator introduced by rasterization >> support. >> While most of the artist seems to explicitly require the renderer >> instance as the second argument of the draw method, the draw method in >> the Axes class have default value of None. >> The easiest fix seems to let the decorator returns the method with >> renderer=None as in the Axes. >> >> By the way, Jonathan, I guess the easiest workaround for you is to >> modify your code so that it explicitly gives the renderer argument. As >> you see the default value for renderer is None. Just call it as >> draw(None). >> >> Regards, >> >> -JJ >> > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Matplotlib-devel mailing list > Matplotlib-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel