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

Method set_child

lib/matplotlib/offsetbox.py:1003–1008  ·  view source on GitHub ↗

Set the child to be anchored.

(self, child)

Source from the content-addressed store, hash-verified

1001 )
1002
1003 def set_child(self, child):
1004 """Set the child to be anchored."""
1005 self._child = child
1006 if child is not None:
1007 child.axes = self.axes
1008 self.stale = True
1009
1010 def get_child(self):
1011 """Return the child."""

Callers 8

__init__Method · 0.95
__init__Method · 0.80
__init__Method · 0.80
add_toolitemMethod · 0.80
triggerMethod · 0.80
on_activateFunction · 0.80
__init__Method · 0.80
on_activateFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected