>>>>> "David" == David Huard <[EMAIL PROTECTED]> writes:
David> Hi, When plotting a large amount of bars, like >>>> bar(arange(500), rand(500)) David> the bars seem to overlap and it produces a weird effect. David> My feeling is that the culprit is the contour line around David> each rectangle, who probably don't scale properly in this David> limit. In fact, the problem is maybe not so much that the David> contour width doesn't scale, but that the contour is drawn David> outside the rectangle. David> I'd be glad to submit a patch, but I'd need some directions David> (where in the code is the contour drawn ?) This is likely due to either antialising of the bar patch.Rectangle objects (does it help to turn the antialiased property off?) or subpixel rendering (does it help to comment out these lines in src/_backend_agg.cpp in the draw_polygon function?) //snapto pixel centers x = (int)x + 0.5; y = (int)y + 0.5; JDH ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel