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

Method __init__

lib/matplotlib/_mathtext.py:1279–1286  ·  view source on GitHub ↗
(self, elements: T.Sequence[Node])

Source from the content-addressed store, hash-verified

1277 """A list of nodes (either horizontal or vertical)."""
1278
1279 def __init__(self, elements: T.Sequence[Node]):
1280 super().__init__(0., 0., 0.)
1281 self.shift_amount = 0. # An arbitrary offset
1282 self.children = [*elements] # The child nodes of this list
1283 # The following parameters are set in the vpack and hpack functions
1284 self.glue_set = 0. # The glue setting of this list
1285 self.glue_sign = 0 # 0: normal, -1: shrinking, 1: stretching
1286 self.glue_order = 0 # The order of infinity (0 - 3) for the glue
1287
1288 def __repr__(self) -> str:
1289 return "{}<w={:.02f} h={:.02f} d={:.02f} s={:.02f}>[{}]".format(

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected