Allow axes to be provided to imshow and fix colorbar
Allow axes to be provided to imshow and fix colorbar
Allow axes to be provided to imshow and fix colorbar
Use tight layout by default
Try and fix appveyor issue
Handle deprecation warning on appveyor
Pin the colorbar to the image using box-forced
Fix tests again
Update function signature
Update function signature
Fix imshow call
Fix docstring with utf characters
Remove kwargs
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
- images are displayed within their native dtype range,
- unless they are outside of their range (e.g. a float image with
values greater than 1) or they are of an unsupported dtype (e.g.
a uint64 image), in which case the dynamic range of the display
corresponds to the image range,
- which is also done for images with extremely low contrast for their
native range (e.g. float images in [1e-7, 5e-7].
In the latter two cases, a colorbar is also displayed and a warning is
raised.
Finally, we return the axes object on which the image is plotted, to
enable further plotting in the matplotlib new OO style.