Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fe5dd5 commit 84b4b29Copy full SHA for 84b4b29
1 file changed
src/_macosx.m
@@ -1758,8 +1758,6 @@ static BOOL _clip(CGContextRef cr, PyObject* object)
1758
/* Preset graphics context properties if possible */
1759
CGContextSetShouldAntialias(cr, antialiased);
1760
1761
- CGContextSetLineWidth(cr, 0.0);
1762
-
1763
if (Nfacecolors==1)
1764
{
1765
const double r = *(double*)PyArray_GETPTR2(facecolors, 0, 0);
@@ -1822,6 +1820,7 @@ static BOOL _clip(CGContextRef cr, PyObject* object)
1822
1820
1823
1821
CGContextMoveToPoint(cr, points[3].x, points[3].y);
1824
CGContextAddLines(cr, points, 4);
+ CGContextClosePath(cr);
1825
1826
if (Nfacecolors > 1)
1827
0 commit comments