MCPcopy Create free account
hub / github.com/ColdGrub1384/Pyto / __init__

Method __init__

site-packages/matplotlib/mathtext.py:1536–1543  ·  view source on GitHub ↗
(self, elements)

Source from the content-addressed store, hash-verified

1534 A list of nodes (either horizontal or vertical).
1535 """
1536 def __init__(self, elements):
1537 Box.__init__(self, 0., 0., 0.)
1538 self.shift_amount = 0. # An arbitrary offset
1539 self.children = elements # The child nodes of this list
1540 # The following parameters are set in the vpack and hpack functions
1541 self.glue_set = 0. # The glue setting of this list
1542 self.glue_sign = 0 # 0: normal, -1: shrinking, 1: stretching
1543 self.glue_order = 0 # The order of infinity (0 - 3) for the glue
1544
1545 def __repr__(self):
1546 return '[%s <%.02f %.02f %.02f %.02f> %s]' % (

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected