Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 53cdcba

Browse files
committed
Fix eps hatching in MacOS Preview
1 parent 0b797a1 commit 53cdcba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/matplotlib/backends/backend_ps.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,9 @@ def create_hatch(self, hatch):
313313
{linewidth:f} setlinewidth
314314
{self._convert_path(
315315
Path.hatch(hatch), Affine2D().scale(sidelen), simplify=False)}
316+
gsave
316317
fill
318+
grestore
317319
stroke
318320
}} bind
319321
>>

0 commit comments

Comments
 (0)