Skip to content

Commit 947e42b

Browse files
committed
fix issue matplotlib#1881, pgf: add style information for hatchings
1 parent a7200b6 commit 947e42b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/backends/backend_pgf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,7 @@ def draw_path(self, gc, path, transform, rgbFace=None):
450450
# if present, draw pattern on top
451451
if gc.get_hatch():
452452
writeln(self.fh, r"\begin{pgfscope}")
453+
self._print_pgf_path_styles(gc, rgbFace)
453454

454455
# combine clip and path for clipping
455456
self._print_pgf_clip(gc)

0 commit comments

Comments
 (0)