Revision: 8738 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8738&view=rev Author: mdehoon Date: 2010-10-09 01:15:06 +0000 (Sat, 09 Oct 2010)
Log Message: ----------- See bug #3081512. Set line widths correctly in draw_quad_mesh. Modified Paths: -------------- trunk/matplotlib/src/_macosx.m Modified: trunk/matplotlib/src/_macosx.m =================================================================== --- trunk/matplotlib/src/_macosx.m 2010-10-08 18:16:54 UTC (rev 8737) +++ trunk/matplotlib/src/_macosx.m 2010-10-09 01:15:06 UTC (rev 8738) @@ -1758,8 +1758,6 @@ /* Preset graphics context properties if possible */ CGContextSetShouldAntialias(cr, antialiased); - CGContextSetLineWidth(cr, 0.0); - if (Nfacecolors==1) { const double r = *(double*)PyArray_GETPTR2(facecolors, 0, 0); @@ -1822,6 +1820,7 @@ CGContextMoveToPoint(cr, points[3].x, points[3].y); CGContextAddLines(cr, points, 4); + CGContextClosePath(cr); if (Nfacecolors > 1) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ Matplotlib-checkins mailing list Matplotlib-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins