Commit Graph

54 Commits

Author SHA1 Message Date
Stefan van der Walt 96e9e77388 PEP8 cleanups 2016-02-02 08:25:41 -08:00
Stefan van der Walt 45f8bd2e72 Fix typos from PR feedback 2016-02-02 08:25:41 -08:00
Stefan van der Walt 88a269c282 Add polygon perimiter drawing 2016-02-02 08:25:41 -08:00
Stefan van der Walt c8ba77d5f9 Clean up implementation 2016-01-24 19:42:24 -08:00
Stefan van der Walt e2f874e75f draw: Add alpha ability to set_color 2016-01-23 16:02:49 -08:00
Steven Silvester 98877016f3 Allow polygon to take a list or tuple and add a test 2015-09-05 20:18:55 -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 a659aa1acc Fix and clean up anti-aliased line drawing (closes #1563) 2015-07-11 18:39:37 -05:00
Stefan van der Walt 83d5ff9001 Consistently use relative imports 2015-07-11 15:41:37 -05:00
Johannes Schönberger fcdffd7e3d Do not acquire GIL for draw functions 2015-05-20 20:26:57 -07:00
Steven Silvester f898bd0209 Style fixes 2014-12-26 11:26:30 -06:00
Steven Silvester c0a0490eed Fix handling of multiple warnings and update tests
Fix handling of multiple warnings

Update all test __init__ files

Update segmentation pkg

Update the color pkg

Update the exposure pkg

Update the filters pkg

Update the io pkg

Update the measure pkg

Update morphology package

Restructure test setup function

Add expected_warnings to __all__

Update restoration pkg.

Remove explicit filter check since it is done elsewhere

Fix the image test helpers

Update the transform pkg

Fix util pkg

Update viewer pkg
2014-12-23 16:51:06 -06:00
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 8e2f397700 add shape option to draw functions 2014-11-09 22:05:59 +01: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 ffbe37ad9d Add test case for set_color function 2013-10-14 18:01:03 +02:00
Josh Warner (Mac) a229d19eb0 DOC: Change sampling to spacing in skimage.draw.ellipsoid and tests 2013-10-13 13:11:11 -05: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 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 2606494828 MAINT: put AA method in draw.*_aa 2013-10-02 17:24:22 +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 36e23b106f TEST: add unittest and check with travis 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
François Boulogne 984311b457 fix int + pep 2013-05-28 07:56:56 +02:00
François Boulogne f630327dc3 add unittest 2013-05-28 07:56:56 +02:00
François Boulogne 2131a9ddfd rename function bezier_curve to bezier_segment 2013-05-28 07:56:55 +02:00
François Boulogne 00524a3d86 split tests 2013-05-28 07:56:12 +02:00
François Boulogne 328e54fa13 minor fixes 2013-05-28 07:56:12 +02:00
François Boulogne e51f5c3cd5 implement rotated ellipses 2013-05-28 07:56:11 +02:00
François Boulogne 62b359a39b add test point position circle-ellipse 2013-01-16 19:54:08 +01:00
François Boulogne cc061029f3 remove print statement 2013-01-16 19:54:07 +01:00
François Boulogne 075c43109a new method: ellipse_perimeter 2013-01-13 16:39:02 +01:00
François Boulogne 60b560ff9e add andres method for circle_perimeter 2013-01-12 10:56:52 +01:00
Anders Boesen Lindbo Larsen 2313361cf9 Add circle perimeter to draw module. 2012-12-27 20:42:01 +01:00
Andreas Mueller f7b3d8062c COSMIT pep8 2012-06-29 11:27:23 +02:00
Johannes Schönberger 5b854d9b3c changed interface of draw.polygon function for a more consistent usage 2012-04-23 18:38:20 +02:00