Skip to content

Commit b3ced63

Browse files
committed
Fix doctests
1 parent 13eeb19 commit b3ced63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

skimage/restoration/_rolling_ball.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,14 @@ def rolling_ball(image, *, radius=100, kernel=None, nansafe=False, num_threads=N
7373
>>> import numpy as np
7474
>>> import skimage as ski
7575
>>> image = ski.data.coins()
76-
>>> background = ski.restoration.rolling_ball(data.coins())
76+
>>> background = ski.restoration.rolling_ball(image)
7777
>>> filtered_image = image - background
7878
7979
>>> import numpy as np
8080
>>> import skimage as ski
8181
>>> image = ski.data.coins()
8282
>>> kernel = ski.restoration.ellipsoid_kernel((101, 101), 75)
83-
>>> background = ski.restoration.rolling_ball(data.coins(), kernel=kernel)
83+
>>> background = ski.restoration.rolling_ball(image, kernel=kernel)
8484
>>> filtered_image = image - background
8585
"""
8686

0 commit comments

Comments
 (0)