Steven Silvester
4680f30466
Add a test setup helper function
...
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
2014-12-23 16:49:20 -06:00
Steven Silvester
f72882fbd2
Import scipy before turning on warnings
2014-12-23 16:49:19 -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
François Boulogne
44d10176dc
DOC: fix mistake optional flag
2014-11-10 08:10:14 +01:00
François Boulogne
e8cd48b8ae
DOC: enhance docstring
2014-11-10 08:09:26 +01:00
François Boulogne
c736ff2c1a
MAINT: mutualize function
2014-11-09 22:07:05 +01:00
François Boulogne
8e2f397700
add shape option to draw functions
2014-11-09 22:05:59 +01:00
Steven Silvester
9ea43d777b
Avoid type incompatibility warnings
2014-10-04 21:41:35 -05:00
Alexey Umnov
88a9cb4060
Added float conversions for python2.x
2014-09-17 20:20:26 +04:00
Alexey Umnov
abcd613593
Fixed ellipse symmetry and added some tests.
2014-09-17 19:13:36 +04:00
François Boulogne
b3f0c1eb96
FIX bug #832 + testcase
2014-03-16 15:46:39 -04:00
François Boulogne
6093c55aa2
MIN: typo
2014-03-15 10:29:45 -04:00
François Boulogne
67b1335c15
remove '' around ValueError
2014-03-15 08:50:53 -04:00
François Boulogne
c6e916d082
remove extra )
2014-03-15 08:26:45 -04:00
François Boulogne
a423bd15e6
MAINT: use asset_allclose instead of round
2014-03-15 07:58:01 -04:00
François Boulogne
ee12ccff26
TEST: add unittest about ValueError
2014-03-15 07:47:05 -04:00
Johannes Schönberger
342205fcde
Speed up memory views in line drawing function
2013-10-18 20:54:28 +02:00
Johannes Schönberger
a9e9012d1a
Re-add missing parts
2013-10-14 18:24:58 +02:00
Johannes Schönberger
ffbe37ad9d
Add test case for set_color function
2013-10-14 18:01:03 +02:00
Johannes Schönberger
998d64e64e
Remove duplicate set_color function
2013-10-14 17:58:18 +02:00
Josh Warner (Mac)
b9f5dd3ad5
DOC: Fix capitalization in ellipsoid docstring.
2013-10-13 13:15:08 -05:00
Josh Warner (Mac)
a229d19eb0
DOC: Change sampling to spacing in skimage.draw.ellipsoid and tests
2013-10-13 13:11:11 -05:00
Johannes Schönberger
6c67738808
Miscellaneous fixes and improvements
2013-10-12 14:13:10 +02:00
François Boulogne
bac7ede8b2
PEP8
2013-10-02 18:12:01 +02:00
François Boulogne
055e820e72
MINOR: some comments
2013-10-02 17:25:17 +02:00
François Boulogne
7299753602
FIX: broken test (thanks unittest!)
2013-10-02 17:25:17 +02:00
François Boulogne
296f8dad20
MINOR: doctrings + various improvements
2013-10-02 17:25:17 +02:00
François Boulogne
1548364b65
ADD: bezier_curve
2013-10-02 17:25:16 +02:00
François Boulogne
5c423475e6
PEP8
2013-10-02 17:25:16 +02:00
François Boulogne
718989edc5
FIX: division for value
2013-10-02 17:25:16 +02:00
François Boulogne
d998166ede
MAINT: val in [0,1]
2013-10-02 17:25:15 +02:00
François Boulogne
a4f1704d6e
MAINT: bezier_segment is private
2013-10-02 17:25:15 +02:00
François Boulogne
90335efdda
Implement line_aa
2013-10-02 17:25:15 +02:00
François Boulogne
bf31517843
DOC: remove wu in methods
2013-10-02 17:24:22 +02:00
François Boulogne
2606494828
MAINT: put AA method in draw.*_aa
2013-10-02 17:24:22 +02:00
François Boulogne
dcf02235a4
DOC: fix refs
2013-10-02 17:23:37 +02:00
François Boulogne
62240c1f11
TEST: fix unittest
2013-10-02 17:23:37 +02:00
François Boulogne
62dbd7b9b9
TEST: fix returned tuple
2013-10-02 17:23:37 +02:00
François Boulogne
4c14e86952
DOC: update return according to wu's method
2013-10-02 17:23:37 +02:00
François Boulogne
36e23b106f
TEST: add unittest and check with travis
2013-10-02 17:23:37 +02:00
François Boulogne
ed8521175b
import Fedor's contribution
2013-10-02 17:23:37 +02:00
Josh Warner (Mac)
abc7a16a80
STYLE: Use np.array instead of np.r_ and import Poly3DCollection
2013-09-02 15:31:51 -05:00
Josh Warner (Mac)
1174d6fbc5
FIX: Errors in unit tests
2013-09-01 22:05:39 -05:00
Josh Warner (Mac)
50d73fdd62
TEST: Add test suite for draw3d (ellipsoid/ellipsoid_stats)
2013-09-01 21:31:53 -05:00
Josh Warner (Mac)
14a0685838
MAINT: Refactor ellipsoid generator into skimage.draw
2013-09-01 20:51:20 -05:00
Johannes Schönberger
a8f0d46ab2
Fix missing conversion of typed memoryview to numpy array
2013-08-17 23:17:05 +02:00
Johannes Schönberger
cd9f3bd92e
Use typed memoryviews in draw package
2013-08-17 22:07:45 +02:00
François Boulogne
a48de8dea9
add optional + default in pyx docstring
2013-05-29 20:18:19 +02:00
François Boulogne
b36a34c4a4
oops
2013-05-28 07:56:56 +02:00
François Boulogne
1e862e06bc
use bint
2013-05-28 07:56:56 +02:00