Commit Graph

430 Commits

Author SHA1 Message Date
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
Steven Silvester 09c8a84a54 Merge pull request #1518 from stefanv/relative_imports
Consistently use relative imports
2015-07-12 14:41:06 -05:00
Stefan van der Walt 83d5ff9001 Consistently use relative imports 2015-07-11 15:41:37 -05:00
Jonathan Helmus 80d4e813f9 TST: Use smaller gif file in test_pil tests 2015-07-11 14:48:12 -05:00
Jonathan Helmus a47a700fe7 TST: Faster test_multi_image unit tests.
Unit tests in test_multi_image speed up by using a smaller gif file.

New file no_time_for_that_tiny.gif file created using:
gifsicle --resize 14x25 no_time_for_that.gif > no_time_for_that_tiny.gif
2015-07-11 12:35:03 -05:00
arve0 04cbaa1579 expect PIL open fp 2015-05-28 16:06:32 +02:00
Steven Silvester dfaab1957e Add a multipage tiff test and cleanup test_tifffile 2015-05-12 21:10:23 -05:00
Steven Silvester e240dff395 Reinstate explicit plugin 2015-05-11 20:54:46 -05:00