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

Method get_children

lib/matplotlib/figure.py:220–230  ·  view source on GitHub ↗

Get a list of artists contained in the figure.

(self)

Source from the content-addressed store, hash-verified

218 self.stale = True
219
220 def get_children(self):
221 """Get a list of artists contained in the figure."""
222 return [self.patch,
223 *self.artists,
224 *self._localaxes,
225 *self.lines,
226 *self.patches,
227 *self.texts,
228 *self.images,
229 *self.legends,
230 *self.subfigs]
231
232 def get_figure(self, root=None):
233 """

Callers 3

_get_draw_artistsMethod · 0.95
get_tightbboxMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected