From f04e14272f1b45c827701b61e4a0df04a0f571fc Mon Sep 17 00:00:00 2001 From: Tony S Yu Date: Sat, 7 Dec 2013 01:07:17 -0600 Subject: [PATCH] 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. --- skimage/io/manage_plugins.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skimage/io/manage_plugins.py b/skimage/io/manage_plugins.py index ace57d8f..08bf1703 100644 --- a/skimage/io/manage_plugins.py +++ b/skimage/io/manage_plugins.py @@ -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