We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f86cfb2 commit 6cdd1bbCopy full SHA for 6cdd1bb
lib/matplotlib/transforms.py
@@ -1949,17 +1949,6 @@ def set(self, other):
1949
self._mtx = other.get_matrix()
1950
self.invalidate()
1951
1952
- @staticmethod
1953
- @_api.deprecated("3.6", alternative="Affine2D()")
1954
- def identity():
1955
- """
1956
- Return a new `Affine2D` object that is the identity transform.
1957
-
1958
- Unless this transform will be mutated later on, consider using
1959
- the faster `IdentityTransform` class instead.
1960
1961
- return Affine2D()
1962
1963
def clear(self):
1964
"""
1965
Reset the underlying matrix to the identity transform.
0 commit comments