Add a helper function to check for low contrast
Add a check for low contrast when using imsave
Use the low contrast helper in imshow and make sure warnings are always shown
Clean up parameter names and add doctests
Remove unnecessary warning context
Remove unnecessary warning context
Add dtype ranges for 64bit types
Update tests with new warnings
Fix doctest logic
Fix doctest logic
Add a low contrast test with multiple dtypes
Fix check for color images
Fix color check again
Add support for int32 types
Relax assertion for 32bit builds
Add a low contrast test with multiple dtypes
Add a low contrast test with multiple dtypes
Fix check for color images
Fix color check again
Add support for int32 types
Fix some sphinx warnings
Add documentation build to test
Add documentation build to test
Remove change in numpydoc
Remove change in apigen
Add makefile target for html and add to travis script
Add a makefile target for html and add to travis script
Fix more sphinx warnings
It seems it isn't always a valid kwarg. This bypasses that problem
by calling `np.array` directly (which is just what `np.copy` does
under the hood anyway).
Fix handling of multiple warnings
Update all test __init__ files
Update segmentation pkg
Update the color pkg
Update the exposure pkg
Update the filters pkg
Update the io pkg
Update the measure pkg
Update morphology package
Restructure test setup function
Add expected_warnings to __all__
Update restoration pkg.
Remove explicit filter check since it is done elsewhere
Fix the image test helpers
Update the transform pkg
Fix util pkg
Update viewer pkg
Add a function to set up a skimage test
Switch to new test helper function
Import local packages that raise warnings in test setup function
More fixes to doctests
Fix regionprops doc test
Try and fix the test_rank failure.
Remove no longer needed RectangleSelector shim
Skip more doctests in _regionprops
Try importing another scipy subpackage
Reset plugins prior to running collections test
Handle warnings in morphology pkg
Add __init__ for morpohology tests
Handle warnings for novice pkg
Handle warnings for restoration pkg
Handle warnings for segmentation pkg
Handle warnings for _shared pkg
Handle warnings for transform pkg
Handle warnings for util pkg
Handle warnings in viewer module
The line in `img_as_ubyte` needs correction; ubyte cannot hold negative data. From a quick experiment it seems like both `img_as_uint` and `img_as_ubyte` clip negative values (and not shift them to the positive domain).
The context manager searches for __warningregistry__ entries that
Python leaves all over the place, clearing them, thereby ensuring
that warnings will always be raised. This is necessary for the test
suite to detect warnings even if they were raised before under
the "once" filter.