Steven Silvester
2d3ada19e5
Allow for no exceptions to be raised and cleanup
...
Allow for no exceptions to be raised
Add some helpful comments
Remove doctest skips
Remove TODO note
Cleanup and skip failing doctest
2014-12-23 16:51:18 -06:00
Steven Silvester
874d68ba3f
# This is a combination of 7 commits.
...
# The first commit's message is:
Add a known_warning decorator and suppress warnings in color pkg
# This is the 2nd commit message:
Use the existing all_warnings context manager
# This is the 3rd commit message:
Raise warnings in data
# This is the 4th commit message:
Raise warnings in draw
# This is the 5th commit message:
Raise warnings in exposure
# This is the 6th commit message:
Suppress warnings in exposure tests
# This is the 7th commit message:
Add comments about warning suppressions
2014-12-23 16:46:24 -06:00
Johannes Schönberger
3a1079a180
Misc PEP8 fixes
2014-12-14 02:56:14 +01:00
Steven Silvester
2a057f7246
Make ndim explicit arg for clarity and update docstring
2014-09-21 05:48:58 -05:00
Steven Silvester
d2aaae40c8
Add docstring to assert_nD
2014-09-20 19:58:20 -05:00
Steven Silvester
4a270a74d7
Fix syntax error
2014-09-20 19:34:46 -05:00
Steven Silvester
17ff39ff25
Allow assert_nD to take multiple dimensions
2014-09-20 17:12:35 -05:00
Steven Silvester
d6c64997cb
Implement new assert_nD utility function
2014-09-20 15:43:00 -05:00
Stefan van der Walt
e9c0cde8d4
Move safe_as_int into utils
2014-05-08 20:11:17 +02:00
Stefan van der Walt
a9dcdc3713
Use safe_as_int to check provided output shape
2014-05-08 19:28:29 +02:00
Stefan van der Walt
86beb21e5a
Move all_warnings to skimage._shared.utils
2014-04-27 03:23:22 +02:00
Stefan van der Walt
eb6867cfe2
Make six an external dependency.
2013-10-27 14:06:26 +02:00
Stefan van der Walt
4215ad11a1
Remove leftover debug statement.
2013-08-21 11:09:02 +02:00
Stefan van der Walt
ca768b0b95
Remove unnecessary import of Warning.
2013-08-21 00:59:37 +02:00
Stefan van der Walt
d9836a6add
Remove logger in favor of warnings.
2013-08-21 00:10:33 +02:00
Johannes Schönberger
3b6e799d76
Remove unused cached_property from _shared.utils namespace
2013-08-07 19:38:41 +02:00
Johannes Schönberger
d94c25efde
Remove cached_property class from shared utils
2013-08-06 14:28:28 +02:00
Johannes Schönberger
7fda9000c7
Add cached_property decorator
2013-08-06 10:51:50 +02:00
Stefan van der Walt
39e66c0229
Add to public API.
2013-06-29 10:18:43 -05:00
Stefan van der Walt
9d1907a211
Fix im_class access in Python 3.
2013-06-29 10:17:42 -05:00
Stefan van der Walt
84615478e4
Fix function code.
2013-06-29 10:17:41 -05:00
Stefan van der Walt
9a38a59a25
Remove is_str and replace by isinstance(..., six.string_types).
2013-06-29 10:16:42 -05:00
Stefan van der Walt
0a727e3367
Merge pull request #485 from tonysyu/image_label2rgb
...
ENH: Add `label2rgb`.
2013-06-22 20:24:20 -07:00
Johannes Schönberger
f7959e3f07
Fix doc string injection of deprecated wrapper
2013-05-26 12:20:06 +02:00
Tony S Yu
19fdad15b9
Add image_label2rgb
2013-05-06 00:25:01 -05:00
Johannes Schönberger
332c21f979
Make deprecation warning in doc string bold
2013-03-12 07:29:39 +01:00
Johannes Schönberger
a0d9d3f213
Use double instead of single quotes for doc string
2013-03-12 07:28:15 +01:00
Johannes Schönberger
0cb0fee339
Remove duplicate code for alternative function
2013-03-11 23:21:52 +01:00
Johannes Schönberger
483ebae0c0
Change deprecated decorator to display warning in doc string
2013-03-11 23:18:54 +01:00
Tony S Yu
694ac11f93
STY: Rename visualize_boundaries to highlight_boundaries
...
Add @deprecated decorator to ease the transition.
2012-10-07 15:43:28 -04:00