8000 Also copy hatch color when updating Patches. · matplotlib/matplotlib@122bf46 · GitHub
[go: up one dir, main page]

Skip to content

Commit 122bf46

Browse files
committed
Also copy hatch color when updating Patches.
Fixes #8463.
1 parent 4c46381 commit 122bf46

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/patches.py

Lines changed: 1 addition & 0 deletions
< 5489 /tr>
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ def update_from(self, other):
200200
self._facecolor = other._facecolor
201201
self._fill = other._fill
202202
self._hatch = other._hatch
203+
self._hatch_color = other._hatch_color
203204
# copy the unscaled dash pattern
204205
self._us_dashes = other._us_dashes
205206
self.set_linewidth(other._linewidth) # also sets dash properties

0 commit comments

Comments
 (0)
0