Fix doctest which causes side-effects.

I'm not sure that there's a safe way to write this example as a doctest,
but I think this will pass on Travis (although it still has side-effects.
This commit is contained in:
Tony S Yu
2013-12-07 01:07:17 -06:00
parent 6a751045f1
commit f04e14272f
+2 -2
View File
@@ -202,10 +202,10 @@ def use_plugin(name, kind=None):
Examples
--------
To use a plugin named 'null' as the default image reader, you would write:
To use Matplotlib as the default image reader, you would write:
>>> from skimage import io
>>> io.use_plugin('null', 'imread')
>>> io.use_plugin('matplotlib', 'imread')
To see a list of available plugins run ``io.available_plugins``. Note that
this lists plugins that are defined, but the full list may not be usable