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

Skip to content

Commit 2cfa1c1

Browse files
authored
Merge pull request #15064 from mksegv/fix-macos-preview-eps-hatching
FIX: eps hatching in MacOS Preview
2 parents 5f40aba + 53cdcba commit 2cfa1c1

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)