Egor Panfilov
dd8e5f08a4
Fixed import in qt_plugin
2016-05-05 12:15:05 +03:00
Stefan van der Walt
caeb67a843
Correct regexp for catching mpl warnings
2016-03-18 14:32:21 -07:00
Stefan van der Walt
89136157bb
Remove lena image from test suite.
...
Results from the morphology module were compared against output from the
corresponding MATLAB functions, as applied to the lena test image. This image
does not conform to the Debian Free Software Guidelines and had to be removed.
The output is now tested against results generated with the current version of
scikit-image (0.12.0), which is known to be correct due to the comparison
described above.
2016-03-06 23:16:11 -08:00
Steven Silvester
729328ed6d
Merge pull request #1905 from stefanv/novice_undo
...
Add comparison and reset capability to novice module
2016-03-03 18:38:17 -06:00
Stefan van der Walt
9e9207c718
Catch known Matplotlib warnings
...
`tight_layout` is not supported on all backends, so Matplotlib may raise a
warning, saying it is falling back to the Agg backend. Since we use the
'Template' backend in our tests, this warning pops up from time to time.
2016-03-02 18:54:14 -08:00
Stefan van der Walt
a8057ed941
Add reset and compare to novice module
...
- Reset restores the image to the original.
- Compare displays the original and the modified image side-by-side.
2016-03-02 16:22:24 -08:00
Stefan van der Walt
3ffca2fdbd
Extend plugins with imshow_collection
...
A first implementation is made for Matplotlib.
2016-03-02 16:22:24 -08:00
François Boulogne
461b06a517
MAINT: fixes #1652
...
add close()
Stephans solution
close file before
remove comment
2016-02-15 22:01:55 -05:00
Johannes Schönberger
e6338b75bd
Merge pull request #1921 from JDWarner/image_comparison_prefix
...
STY: Image comparison functions now share common prefix
2016-02-02 17:07:17 +01:00
Joshua Warner
ab7f0774aa
FIX: Pass arguments from deprecated function, update examples.
2016-02-01 13:57:56 -07:00
Josh Warner
d91aff47df
Merge pull request #1817 from blink1073/upgrade-imshow
...
ENH: Allow axes to be provided to imshow and fix colorbar
2016-01-31 10:03:16 -06:00
Steven Silvester
0aafbaf78b
Add another note about the new warning
2016-01-31 08:37:49 -06:00
Steven Silvester
bbb35134a7
Add a note about the new warning
2016-01-31 08:36:38 -06:00
Steven Silvester
da038c4d88
Debugging appveyor warning
2016-01-31 07:48:47 -06:00
Steven Silvester
b710bd21d2
Use a stacklevel of 2 by default for all warnings
2016-01-30 08:57:46 -06:00
Emmanuelle Gouillart
8f2839e1b3
Merge pull request #1747 from JGoutin/OptimizeLevel2Compilation-patch
...
Import fail if python is running with -OO
2015-12-30 23:14:03 +01:00
Steven Silvester
0d73999cfd
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
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
2015-12-25 15:12:53 -06:00
Warren Weckesser
6b908c1bb1
BUG: io: imread in the PIL plugin drops indexed PNG alpha channel.
...
When using the PIL plugin to read an indexed PNG file that has
an alpha channel, the alpha channel would be lost.
2015-12-15 12:30:43 -05:00
Steven Silvester
a6f4419da4
Update failing tests
2015-12-12 14:20:38 -06:00
JGoutin
bf9eb6c8de
Update __init__.py
...
A little optimization: Now, don't need to import "sys" and will also work if Skimage imported from a byte-compilled Python distribution.
2015-10-09 13:38:03 +02:00
JGoutin
d43351c578
Import fail if python is runned with -OO
...
Hello,
This fix a crash on skimage import if Python compilation optimization is set to 2 (Remove docstrings / Run python with -OO argument)
2015-10-09 12:21:13 +02:00
Steven Silvester
1dae599eb1
Remove another tiff check in test_pil
2015-10-06 20:19:06 -05:00
Steven Silvester
1547ec39f3
Remove the tifffile save tests from test_pil
2015-10-06 20:18:16 -05:00
Steven Silvester
d7a648ad55
Pop the img_num keyword if given
2015-10-06 19:58:50 -05:00
Steven Silvester
e7b67618fd
Move tiff-file handling to top level
2015-10-06 19:45:28 -05:00
Steven Silvester
40a30e6d1c
Remove unnecessary import
2015-09-04 08:03:01 -05:00
Steven Silvester
260e01333d
Add a plugin and test for imageio
2015-09-04 08:02:35 -05:00
Connelly Barnes
28a4fcd37e
fix permissions issue in test_pil.py function test_png_round_trip()
2015-08-30 21:20:28 -04:00
Connelly Barnes
4ca1f49d20
fix scikit-image bug #1680 (grayscale png round trip fails) and add unit test
2015-08-30 11:51:04 -04:00
Josh Warner
cbc851bba6
FIX/STY: Remove magic and enforce PEP8 in plugins.
2015-08-13 19:47:00 -05:00
Juan Nunez-Iglesias
c2f8c4ab12
Merge pull request #1599 from blink1073/viridis
...
Add the viridis colormap and use it for non-standard images
2015-07-22 12:54:07 +10:00
Steven Silvester
5632c9c1a9
Only add colorbar if the cmap is not the default
2015-07-16 21:39:05 -05:00
Steven Silvester
9fb7676c92
Fix relative import
2015-07-16 21:28:37 -05:00
Steven Silvester
eaaea690f2
Allow viridis to be used by name
2015-07-16 07:58:14 -05:00
Steven Silvester
3d963649fc
Use a less-invasive approach
2015-07-16 07:56:14 -05:00
Steven Silvester
3d044af4da
Be more explicit about configparser import
2015-07-15 21:22:41 -05:00
Steven Silvester
8122e26731
Add another file guard
2015-07-14 09:28:53 -05:00
Steven Silvester
b75ee66a61
Clean up tests by using fresh figures
2015-07-14 07:47:59 -05:00
Steven Silvester
a8580f76b3
Always create a colorbar and update tests
2015-07-14 07:47:59 -05:00
Steven Silvester
756b9289c9
Add the viridis colormap and make it the default
2015-07-14 07:47:59 -05:00
Steven Silvester
f6653b781f
Fix tifffile plugin import
2015-07-14 07:45:41 -05:00
Steven Silvester
b67a4e3076
Move the tifffile wrapper to tiff plugin
2015-07-14 07:45:41 -05:00
Steven Silvester
182a6f6904
Fix handling of tiffile handles
2015-07-14 07:45:41 -05:00
Steven Silvester
6d7e0554a4
Use context manager for tif imread as well
2015-07-14 07:45:41 -05:00
Steven Silvester
2fb59b9243
Fix variable name
2015-07-14 07:45:41 -05:00
Steven Silvester
1a27bea7da
Allow pil imread to accept file-like objects again
2015-07-14 07:44:34 -05:00
Steven Silvester
f1471dfd72
Remove offending line
2015-07-14 07:44:34 -05:00
Steven Silvester
7720527c95
Fix imsave test
2015-07-14 07:44:34 -05:00
Steven Silvester
e1596aef1b
Remove unclosed file guards
2015-07-14 07:44:34 -05:00
Steven Silvester
3272b85f86
Do not let PIL handle the file handle
2015-07-14 07:44:34 -05:00