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

Method __init__

lib/matplotlib/_mathtext.py:1327–1334  ·  view source on GitHub ↗
(self, elements: T.Sequence[Node], w: float = 0.0,
                 m: T.Literal['additional', 'exactly'] = 'additional',
                 do_kern: bool = True)

Source from the content-addressed store, hash-verified

1325 """A horizontal list of boxes."""
1326
1327 def __init__(self, elements: T.Sequence[Node], w: float = 0.0,
1328 m: T.Literal['additional', 'exactly'] = 'additional',
1329 do_kern: bool = True):
1330 super().__init__(elements)
1331 if do_kern:
1332 self.kern()
1333 self.hpack(w=w, m=m)
1334 self.is_phantom = False
1335
1336 def is_char_node(self) -> bool:
1337 # See description in Node.is_char_node.

Callers

nothing calls this directly

Calls 3

kernMethod · 0.95
hpackMethod · 0.95
__init__Method · 0.45

Tested by

no test coverage detected