From: John H. <jdh...@ac...> - 2004-03-08 16:54:40
|
>>>>> "Kuzminski," == Kuzminski, Stefan R <SKu...@fa...> writes: Kuzminski,> I got the .51 release, looks great. I need to Kuzminski,> set_antialiased() on the Renderer, but I'm not sure Kuzminski,> how to get the renderer object correctly. If I call Kuzminski,> gca() I get the SubPlot, but the renderer member is Kuzminski,> None. Any advice would be appreciated. There is no way to set antialiased on the renderer itself, just on the individual objects (lines etc). plot([1,2,3], antialiased=False) or lines = plot(x1,y1,x2,y2) set(lines, 'antialiased', False) or set lines.antialiased in matplotlibrc to the default you want. Unfortunately, agg does not yet respect antialiased == False for all primitives, currently only lines. See also http://matplotlib.sourceforge.net/faq.html#MATPLOTLIBRC http://matplotlib.sourceforge.net/faq.html#CUSTOM Can you tell me what you're trying to do? JDH |