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

Skip to content

Commit 54e04d3

Browse files
committed
FIX: remove stale callback on pickling
1 parent 53e2db2 commit 54e04d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/artist.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ def __getstate__(self):
121121
# remove the unpicklable remove method, this will get re-added on load
122122
# (by the axes) if the artist lives on an axes.
123123
d['_remove_method'] = None
124+
d['stale_callback'] = None
124125
return d
125126

126127
def remove(self):

0 commit comments

Comments
 (0)