MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / _check_still_parented

Method _check_still_parented

lib/matplotlib/offsetbox.py:1630–1635  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1628 self.ref_artist.set_animated(False)
1629
1630 def _check_still_parented(self):
1631 if self.ref_artist.get_figure(root=False) is None:
1632 self.disconnect()
1633 return False
1634 else:
1635 return True
1636
1637 def disconnect(self):
1638 """Disconnect the callbacks."""

Callers 3

on_motionMethod · 0.95
on_pickMethod · 0.95
on_releaseMethod · 0.95

Calls 2

disconnectMethod · 0.95
get_figureMethod · 0.45

Tested by

no test coverage detected