-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
imshow can't find any plugins without initially calling use_plugin #1
Comments
I added imshow to the PIL plugin. Please review http://github.com/stefanv/scikits.image/tree/io before I integrate it into the master branch. |
It appears to work fine. |
My question involving the need to initially run use_plugin() before being able use something other than the default plugin still stands, though; without doing so, |
Some plugins are not safe to load by default (for example, the Qt and Gtk plugins cannot be loaded at the same time). I can update the docstring to say that at least the PIL plugin will be tried by default. |
Sure, although it might also be useful to make note of the fact that certain plugins cannot be loaded simultaneously (e.g., perhaps in the documentation). |
Using the latest revision of scikits.image 0.3dev as of the submission date of this issue, scikits.image.io.imshow() can't find any plugins when I attempt to use it to display an ndarray without initially running use_plugin() to activate a particular plugin. Is this expected behavior? The existence of a plugin argument in the imshow function seems to imply that one shouldn't need to explicitly call use_plugin() before imshow().
The text was updated successfully, but these errors were encountered: