Create a new :class:`BboxTransform` that linearly transforms points from *boxin* to *boxout*.
(self, boxin, boxout, **kwargs)
| 2568 | is_separable = True |
| 2569 | |
| 2570 | def __init__(self, boxin, boxout, **kwargs): |
| 2571 | """ |
| 2572 | Create a new :class:`BboxTransform` that linearly transforms |
| 2573 | points from *boxin* to *boxout*. |
| 2574 | """ |
| 2575 | if not boxin.is_bbox or not boxout.is_bbox: |
| 2576 | raise ValueError("'boxin' and 'boxout' must be bbox") |
| 2577 | |
| 2578 | Affine2DBase.__init__(self, **kwargs) |
| 2579 | self._boxin = boxin |
| 2580 | self._boxout = boxout |
| 2581 | self.set_children(boxin, boxout) |
| 2582 | self._mtx = None |
| 2583 | self._inverted = None |
| 2584 | |
| 2585 | def __str__(self): |
| 2586 | return ("{}(\n" |
nothing calls this directly
no test coverage detected