10000 Fixed failing unit test. (in test_axes) · matplotlib/matplotlib@bf4dd97 · GitHub
[go: up one dir, main page]

Skip to content

Commit bf4dd97

Browse files
Phil Elsonpelson
authored andcommitted
Fixed failing unit test. (in test_axes)
1 parent c4ceace commit bf4dd97

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/matplotlib/transforms.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,6 +1119,12 @@ def get_affine(self):
11191119
"""
11201120
return IdentityTransform()
11211121

1122+
def get_matrix(self):
1123+
"""
1124+
Get the transformation matrix for the affine part of this transform.
1125+
"""
1126+
return self.get_affine().get_matrix()
1127+
11221128
def transform_point(self, point):
11231129
"""
11241130
A convenience function that returns the transformed copy of a

0 commit comments

Comments
 (0)
0