8000 FIX: make update-from also set the original face/edgecoloe · matplotlib/matplotlib@c28818a · GitHub
[go: up one dir, main page]

Skip to content

Commit c28818a

Browse files
committed
FIX: make update-from also set the original face/edgecoloe
1 parent 691fb7f commit c28818a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/matplotlib/patches.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,8 @@ def update_from(self, other):
168168
# getters/setters, so we just copy them directly.
169169
self._edgecolor = other._edgecolor
170170
self._facecolor = other._facecolor
171+
self._original_edgecolor = other._original_edgecolor
172+
self._original_facecolor = other._original_facecolor
171173
self._fill = other._fill
172174
self._hatch = other._hatch
173175
self._hatch_color = other._hatch_color

0 commit comments

Comments
 (0)
0