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

Function update_from_first_child

lib/matplotlib/legend_handler.py:40–43  ·  view source on GitHub ↗
(tgt, src)

Source from the content-addressed store, hash-verified

38
39
40def update_from_first_child(tgt, src):
41 first_child = next(iter(src.get_children()), None)
42 if first_child is not None:
43 tgt.update_from(first_child)
44
45
46class HandlerBase:

Callers

nothing calls this directly

Calls 2

get_childrenMethod · 0.45
update_fromMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…