Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e3b3c1d

Browse files
committed
Remove identify
1 parent c8fd78d commit e3b3c1d

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

lib/matplotlib/transforms.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1954,17 +1954,6 @@ def set(self, other):
19541954
self._mtx = other.get_matrix()
19551955
self.invalidate()
19561956

1957-
@staticmethod
1958-
@_api.deprecated("3.6", alternative="Affine2D()")
1959-
def identity():
1960-
"""
1961-
Return a new `Affine2D` object that is the identity transform.
1962-
1963-
Unless this transform will be mutated later on, consider using
1964-
the faster `IdentityTransform` class instead.
1965-
"""
1966-
return Affine2D()
1967-
19681957
def clear(self):
19691958
"""
19701959
Reset the underlying matrix to the identity transform.

0 commit comments

Comments
 (0)