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 e5e601b

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

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎lib/matplotlib/transforms.pyi

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