Skip to content

Commit 06ec2aa

Browse files
committed
Added comment on fill opacity
1 parent f07ce7c commit 06ec2aa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tikzplotlib/_hatches.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ def _mpl_hatch2pgfp_pattern(data, hatch, color_name, color_rgba):
106106
if color_rgba[3] != 1:
107107
ff = data["float format"]
108108
# PGFPlots render patterns according to opacity fill.
109+
# This change is within the scope of the postaction
109110
pattern_options.append(("fill opacity=" + ff).format(color_rgba[3]))
110111

111112
# Add pattern as postaction to allow color fill and pattern together

0 commit comments

Comments
 (0)