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

Skip to content

Commit 122bf46

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

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/matplotlib/patches.py

Lines changed: 1 addition & 0 deletions
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)