Skip to content

Commit 04a69f0

Browse files
committed
Merge branch 'v1.1.x' of github.com:matplotlib/matplotlib into v1.1.x
2 parents 7993d0f + 6065e0c commit 04a69f0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/matplotlib/cbook.py

+3
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,9 @@ def disconnect(self, cid):
240240
for eventname, callbackd in self.callbacks.items():
241241
try:
242242
del callbackd[cid]
243+
for key, value in self._func_cid_map.items():
244+
if value == cid:
245+
del self._func_cid_map[key]
243246
except KeyError:
244247
continue
245248
else:

0 commit comments

Comments
 (0)