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

Method __init__

site-packages/matplotlib/transforms.py:2619–2631  ·  view source on GitHub ↗

Create a new :class:`BboxTransformTo` that linearly transforms points from the unit bounding box to *boxout*.

(self, boxout, **kwargs)

Source from the content-addressed store, hash-verified

2617 is_separable = True
2618
2619 def __init__(self, boxout, **kwargs):
2620 """
2621 Create a new :class:`BboxTransformTo` that linearly transforms
2622 points from the unit bounding box to *boxout*.
2623 """
2624 if not boxout.is_bbox:
2625 raise ValueError("'boxout' must be bbox")
2626
2627 Affine2DBase.__init__(self, **kwargs)
2628 self._boxout = boxout
2629 self.set_children(boxout)
2630 self._mtx = None
2631 self._inverted = None
2632
2633 def __str__(self):
2634 return ("{}(\n"

Callers

nothing calls this directly

Calls 2

set_childrenMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected