Skip to content

Commit 262c67f

Browse files
authored
Merge pull request #16151 from anntzer/trblend
Remove outdated comment re: blended transforms.
2 parents f38dfa1 + ac19fb1 commit 262c67f

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

lib/matplotlib/transforms.py

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2124,16 +2124,13 @@ class BlendedGenericTransform(_BlendedMixin, Transform):
21242124

21252125
def __init__(self, x_transform, y_transform, **kwargs):
21262126
"""
2127-
Create a new "blended" transform using *x_transform* to
2128-
transform the *x*-axis and *y_transform* to transform the
2129-
*y*-axis.
2127+
Create a new "blended" transform using *x_transform* to transform the
2128+
*x*-axis and *y_transform* to transform the *y*-axis.
21302129
21312130
You will generally not call this constructor directly but use the
21322131
`blended_transform_factory` function instead, which can determine
21332132
automatically which kind of blended transform to create.
21342133
"""
2135-
# Here we ask: "Does it blend?"
2136-
21372134
Transform.__init__(self, **kwargs)
21382135
self._x = x_transform
21392136
self._y = y_transform
@@ -2218,12 +2215,10 @@ class BlendedAffine2D(_BlendedMixin, Affine2DBase):
22182215

22192216
def __init__(self, x_transform, y_transform, **kwargs):
22202217
"""
2221-
Create a new "blended" transform using *x_transform* to
2222-
transform the *x*-axis and *y_transform* to transform the
2223-
*y*-axis.
2218+
Create a new "blended" transform using *x_transform* to transform the
2219+
*x*-axis and *y_transform* to transform the *y*-axis.
22242220
2225-
Both *x_transform* and *y_transform* must be 2D affine
2226-
transforms.
2221+
Both *x_transform* and *y_transform* must be 2D affine transforms.
22272222
22282223
You will generally not call this constructor directly but use the
22292224
`blended_transform_factory` function instead, which can determine

0 commit comments

Comments
 (0)