Thanks to visit codestin.com Credit goes to github.com
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.
1 parent 96003f9 commit c6d9f97Copy full SHA for c6d9f97
1 file changed
lib/matplotlib/offsetbox.py
@@ -1695,6 +1695,12 @@ def disconnect(self):
1695
"""disconnect the callbacks"""
1696
for cid in self.cids:
1697
self.canvas.mpl_disconnect(cid)
1698
+ try:
1699
+ c1 = self._c1
1700
+ except AttributeError:
1701
+ pass
1702
+ else:
1703
+ self.canvas.mpl_disconnect(c1)
1704
1705
def artist_picker(self, artist, evt):
1706
return self.ref_artist.contains(evt)
0 commit comments