Skip to content

Commit cf6069a

Browse files
authored
Merge pull request #29392 from r3kste/pdf_hatch_fill_patch
Fill hatch in PDF backend
2 parents 5535df4 + 9ef3128 commit cf6069a

File tree

9 files changed

+2
-0
lines changed

9 files changed

+2
-0
lines changed

lib/matplotlib/backends/backend_pdf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1576,6 +1576,8 @@ def writeHatches(self):
15761576
Op.setrgb_nonstroke,
15771577
0, 0, sidelen, sidelen, Op.rectangle,
15781578
Op.fill)
1579+
self.output(stroke_rgb[0], stroke_rgb[1], stroke_rgb[2],
1580+
Op.setrgb_nonstroke)
15791581

15801582
self.output(lw, Op.setlinewidth)
15811583

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)