This commit is contained in:
ton
2024-10-07 10:13:40 +07:00
parent aa1631742f
commit 3a7d696db6
9729 changed files with 1832837 additions and 161742 deletions

View File

@@ -0,0 +1,30 @@
import sys
from .._vendored.numpy_lookfor import lookfor as _lookfor
def lookfor(what):
"""Do a keyword search on scikit-image docstrings and print results.
.. warning::
This function may also print results that are not part of
scikit-image's public API.
Parameters
----------
what : str
Words to look for.
Examples
--------
>>> import skimage as ski
>>> ski.util.lookfor('regular_grid')
Search results for 'regular_grid'
---------------------------------
skimage.util.regular_grid
Find `n_points` regularly spaced along `ar_shape`.
skimage.util.lookfor
Do a keyword search on scikit-image docstrings and print results.
"""
return _lookfor(what, sys.modules[__name__.split('.')[0]])