mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-13 11:29:18 +08:00
Fix doc string example of warp_coords
This commit is contained in:
@@ -78,8 +78,8 @@ def warp_coords(coord_map, shape, dtype=np.float64):
|
||||
... xy[:, 0] -= 10
|
||||
... return xy
|
||||
>>>
|
||||
>>> coords = warp_coords(30, 30, 3, shift_right)
|
||||
>>> image = data.lena().astype(np.float32)
|
||||
>>> coords = warp_coords(shift_right, image.shape)
|
||||
>>> warped_image = map_coordinates(image, coords)
|
||||
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user