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

Skip to content

Commit 6000941

Browse files
committed
hatch fill for pdf backend
1 parent f2717a5 commit 6000941

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
@@ -1579,6 +1579,8 @@ def writeHatches(self):
15791579
Op.setrgb_nonstroke,
15801580
0, 0, sidelen, sidelen, Op.rectangle,
15811581
Op.fill)
1582+
self.output(stroke_rgb[0], stroke_rgb[1], stroke_rgb[2],
1583+
Op.setrgb_nonstroke)
15821584

15831585
self.output(lw, Op.setlinewidth)
15841586

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)