Skip to content

Commit e5e601b

Browse files
committed
Fix types for Transform.transform_path*
1 parent 736acc6 commit e5e601b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/matplotlib/transforms.pyi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,9 @@ class Transform(TransformNode):
198198
def get_affine(self) -> Transform: ...
199199
def get_matrix(self) -> np.ndarray: ...
200200
def transform_point(self, point: ArrayLike) -> np.ndarray: ...
201-
def transform_path(self, path: ArrayLike) -> np.ndarray: ...
202-
def transform_path_affine(self, path: ArrayLike) -> np.ndarray: ...
203-
def transform_path_non_affine(self, path: ArrayLike) -> np.ndarray: ...
201+
def transform_path(self, path: Path) -> Path: ...
202+
def transform_path_affine(self, path: Path) -> Path: ...
203+
def transform_path_non_affine(self, path: Path) -> Path: ...
204204
def transform_angles(
205205
self,
206206
angles: ArrayLike,

0 commit comments

Comments
 (0)