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

Method add_child

lib/matplotlib/_layoutgrid.py:164–166  ·  view source on GitHub ↗
(self, child, i=0, j=0)

Source from the content-addressed store, hash-verified

162 self.solver.addConstraint(c | 'required')
163
164 def add_child(self, child, i=0, j=0):
165 # np.ix_ returns the cross product of i and j indices
166 self.children[np.ix_(np.atleast_1d(i), np.atleast_1d(j))] = child
167
168 def parent_constraints(self, parent):
169 # constraints that are due to the parent...

Callers 1

__init__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected