Commit Graph
286 Commits
Author SHA1 Message Date
Steven Silvester f89ab053e1 Merge pull request #1314 from SalvatoreScaramuzzino/RectTool_docs
Rect tool docs
2014-12-27 11:01:08 -06:00
Steven Silvester ecc582193a Try using matplotlib cleanup decorator 2014-12-26 20:55:44 -06:00
Steven Silvester a7a84bbcde Draw the canvas when creating the ax to avoid RuntimeError 2014-12-26 20:14:41 -06:00
Steven Silvester f898bd0209 Style fixes 2014-12-26 11:26:30 -06:00
salvatore ac52af7d83 removed numpy import and spaces 2014-12-26 12:12:15 +01:00
salvatore d28ae513ca Travis auto-build Doctest skipped to avoid window opening 2014-12-26 10:37:03 +01: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 79c648b14c Accommodate upcoming changes to RectangleSelector API 2014-12-23 16:48:37 -06:00
Steven Silvester 0debedd82c Handle more warnings and reset io plugins as needed
Reset plugins prior to running collections test

Handle warnings in morphology pkg

Add __init__ for morpohology tests

Handle warnings for novice pkg

Handle warnings for restoration pkg

Handle warnings for segmentation pkg

Handle warnings for _shared pkg

Handle warnings for transform pkg

Handle warnings for util pkg

Handle warnings in viewer module
2014-12-23 16:48:16 -06:00
salvatore ad96b911ab ... added in indented code 2014-12-22 20:49:44 +01:00
salvatore 5401d00b62 deleted ">>>" in body of print_the_rect function 2014-12-22 12:13:10 +01:00
salvatore 04b998199a try to format properly a function in examples of RectTool 2014-12-22 11:25:00 +01:00
salvatore a01a5ed023 Added an example of use of CanvasTools.RectTool to allow generation of docs.
RectTool is used to write rectangles over an image (lena).
This example also can be useful for set_color explanation using both [RGB] and single value color setting

from previous commit indented code in examples is formatted properly.
2014-12-20 23:54:06 +01:00
salvatore 5b71cd9481 Added an example of use of CanvasTools.RectTool to allow generation of docs.
RectTool is used to write rectangles over an image (lena).
This example also can be useful for set_color explanation using both [RGB] and single value color setting
2014-12-20 00:39:33 +01:00
Stefan van der Walt 655aca6fed Raise an error that was suppressed to please Travis-CI 2014-12-15 02:22:22 +02:00
Stefan van der Walt 7f8cd65675 Fix docstring markup errors 2014-12-15 02:21:34 +02:00
Stefan van der Walt 78a7b7307a Rename and deprecate filter module to prevent shadowing of built-in keyword 2014-11-10 12:53:50 +02:00
RebeccaandStefan van der Walt 5c2189550a removed typo that caused test error 2014-11-07 16:04:54 +02:00
RebeccaandStefan van der Walt 1b217f971e replacing lena in examples and most tests 2014-11-07 16:01:23 +02:00
Steven Silvester 0fabb0c3ab Fix comment typo 2014-10-11 18:28:36 -05:00
Steven Silvester 725c376d78 Make sure we disconnect all the signals 2014-10-11 14:34:55 -05:00
Steven Silvester 72292f73c0 Use a manual hack to remove the canvas events for old MPL 2014-10-11 09:15:10 -05:00
Steven Silvester 532e460172 Disconnect the events manually 2014-10-11 07:21:32 -05:00
Steven Silvester 0c35d13203 Add a try/catch for RectangleTool.disconnect_events 2014-10-11 05:12:04 -05:00
Steven Silvester d9e169c518 Fix PIL tests, move helpers to _shared, fix widgets test 2014-10-09 20:18:21 -05:00
Stefan van der Walt d16904cfbc Merge pull request #1175 from blink1073/update-setup
Update build requirements and instructions
2014-10-09 18:27:22 +02:00
Steven Silvester 124db3274f Fix error in viewer test when mpl is present but not qt. 2014-10-04 15:58:28 -05:00
Steven Silvester d1d7af0efd Merge pull request #1180 from stefanv/doc/widget_callback
Add more complete documentation for widget callback
2014-09-30 04:26:47 -05:00
Stefan van der Walt ea00067b0e Fix class names 2014-09-30 06:22:24 +02:00
Stefan van der Walt 63c92537b1 Also add handle style to ThickLineTool 2014-09-30 06:18:03 +02:00
Stefan van der Walt 8a914e55f1 Invoke linetool with properties to increase coverage 2014-09-29 22:28:42 +02:00
Stefan van der Walt f7ee2c28a6 Add more complete documentation for widget callback 2014-09-29 22:25:37 +02:00
Stefan van der Walt b4a6571715 Allow modification of LineTool handle style 2014-09-29 17:13:07 +02:00
Steven Silvester bd5e2d60ff Merge pull request #1139 from grlee77/viewer_checkbox
Viewer: CheckBox Widget
2014-09-17 19:03:57 -05:00
Gregory R. Lee eb7cdb5a16 remove outdated comment line 2014-09-17 12:29:48 -04:00
Gregory R. Lee bdd9fb0832 PEP8 formatting 2014-09-16 12:49:40 -04:00
Steven Silvester 5877e2ee3d Remove blit background when overlay changes 2014-09-13 07:42:52 -05:00
Gregory Lee 3f1b8a4468 code formatting fixes 2014-09-12 19:37:09 -07:00
Steven Silvester 28a41eeb2b Clear the blit background when the image changes 2014-09-10 19:21:21 -05:00
Gregory R. Lee cfb913d8a8 add CheckBox widget to viewer. fix ComboBox widget docstring 2014-09-09 18:34:34 -04:00
Tony S Yu 2b98d85cf9 Merge pull request #1065 from blink1073/multi_linetool_drawing
Multi linetool drawing
2014-09-01 21:06:50 -05:00
Steven Silvester 7ac6323210 Fix failing tests 2014-09-01 13:30:07 -05:00
Steven Silvester 1740392110 Add on_scroll behavior and allow line to change width. 2014-09-01 10:28:28 -05:00
blink1073 7864adbc0c Make other suggested style changes 2014-09-01 10:04:14 -05:00
blink1073 778f62de6a Updates to get all tools tested and working 2014-09-01 10:04:08 -05:00
blink1073 1775e959d6 Switch plugins to use new tool api 2014-09-01 09:59:03 -05:00
blink1073 2d9d8bb94c Refactor blit manager and event manager to viewer 2014-09-01 09:59:01 -05:00
blink1073 1799846be9 Remove unused parameter from docstring 2014-09-01 09:58:59 -05:00