8000
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 c66c423 + 6efb8c3 commit < 8000 span class="fgColor-default">a54f466Copy full SHA for a54f466
lib/matplotlib/widgets.py
@@ -928,10 +928,11 @@ def on_submit(self, func):
928
929
def disconnect(self, cid):
930
"""remove the observer with connection id *cid*"""
931
- try:
932
- del self.observers[cid]
933
- except KeyError:
934
- pass
+ for reg in (self.change_observers, self.submit_observers):
+ try:
+ del reg[cid]
+ except KeyError:
935
+ pass
936
937
938
class RadioButtons(AxesWidget):
0 commit comments