|
From: <md...@us...> - 2010-10-09 01:15:12
|
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.
|