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

Method __init__

lib/matplotlib/transforms.py:2244–2257  ·  view source on GitHub ↗

Create a new "blended" transform using *x_transform* to transform the *x*-axis and *y_transform* to transform the *y*-axis. You will generally not call this constructor directly but use the `blended_transform_factory` function instead, which can determine au

(self, x_transform, y_transform, **kwargs)

Source from the content-addressed store, hash-verified

2242 pass_through = True
2243
2244 def __init__(self, x_transform, y_transform, **kwargs):
2245 """
2246 Create a new "blended" transform using *x_transform* to transform the
2247 *x*-axis and *y_transform* to transform the *y*-axis.
2248
2249 You will generally not call this constructor directly but use the
2250 `blended_transform_factory` function instead, which can determine
2251 automatically which kind of blended transform to create.
2252 """
2253 Transform.__init__(self, **kwargs)
2254 self._x = x_transform
2255 self._y = y_transform
2256 self.set_children(x_transform, y_transform)
2257 self._affine = None
2258
2259 @property
2260 def depth(self):

Callers

nothing calls this directly

Calls 2

set_childrenMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected