Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 262c67f

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

File tree

1 file changed

+5
-10
lines changed
Filter options

1 file changed

+5
-10
lines changed

‎lib/matplotlib/transforms.py

Copy file name to clipboardExpand all lines: lib/matplotlib/transforms.py
+5-10Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.