mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-05 10:51:37 +08:00
26 lines
556 B
Python
26 lines
556 B
Python
__all__ = ['imshow', 'imread', 'imsave', '_app_show']
|
|
|
|
import warnings
|
|
|
|
message = '''\
|
|
No plugin has been loaded. Please refer to the docstring for ``skimage.io``
|
|
for a list of available plugins. You may specify a plugin explicitly as
|
|
an argument to ``imread``, e.g. ``imread("image.jpg", plugin='pil')``.
|
|
|
|
'''
|
|
|
|
|
|
def imshow(*args, **kwargs):
|
|
warnings.warn(RuntimeWarning(message))
|
|
|
|
|
|
def imread(*args, **kwargs):
|
|
warnings.warn(RuntimeWarning(message))
|
|
|
|
|
|
def imsave(*args, **kwargs):
|
|
warnings.warn(RuntimeWarning(message))
|
|
|
|
|
|
_app_show = imshow
|