We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 894742b + 9192d57 commit 78fa072Copy full SHA for 78fa072
lib/matplotlib/cbook.py
@@ -323,9 +323,10 @@ def disconnect(self, cid):
323
except KeyError:
324
continue
325
else:
326
- for key, value in self._func_cid_map.items():
327
- if value == cid:
328
- del self._func_cid_map[key]
+ for category, functions in self._func_cid_map.items():
+ for function, value in functions.items():
+ if value == cid:
329
+ del functions[function]
330
return
331
332
def process(self, s, *args, **kwargs):
0 commit comments