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.
2 parents 96003f9 + c6d9f97 commit 3cb79edCopy full SHA for 3cb79ed
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