Tony S Yu
2532c659ec
BUG: Fix error when matplotlib is not available
2012-12-13 23:40:33 -05:00
Tony S Yu
829479512f
BUG: Update measure for change in line_tool API
2012-12-13 22:26:26 -05:00
Tony S Yu
1a199b4405
ENH: Improve end_points setter
2012-12-13 22:25:53 -05:00
Tony S Yu
78e1efefcb
ENH: Add setter for extents property
2012-12-13 21:52:32 -05:00
Tony S Yu
2e7e92f536
STY: Simplify imports
2012-12-13 21:31:54 -05:00
Tony S Yu
34de6d323a
BUG: Fix line thickness change call back
2012-12-13 21:21:36 -05:00
Tony S Yu
25b9f5d5aa
BUG: Fix LineTool example after change to call signature
...
x, y parameters were removed for simplicity, but example wasn't updated
2012-12-13 21:12:35 -05:00
Tony S Yu
260984c018
DOC: Add parameters to docstring
2012-12-13 21:11:53 -05:00
Tony S Yu
e5dfb8c7ac
STY: Remove linewidth parameter to simplify API
2012-12-13 20:56:27 -05:00
Tony S Yu
3fab96fb09
STY: Rename end_pts to end_points
2012-12-13 20:49:58 -05:00
Tony S Yu
3d631eadc3
Remove x, y parameters from line tool to simplify API
2012-12-13 20:40:47 -05:00
Tony S Yu
e98476ea41
ENH: Handle redraw edge case.
...
You can call redraw before the first draw event so that the background never gets saved. In this case, skip blitting so we don't need the background image.
2012-12-13 19:11:08 -05:00
Tony S Yu
8e4f24af00
ENH: Add color histogram plugin
2012-12-13 18:02:40 -05:00
Tony S Yu
cfe9e7def9
Fix typo
2012-12-13 17:58:08 -05:00
Tony S Yu
43fecd0cb8
BUG: Fix renamed parameter
2012-12-13 17:47:27 -05:00
Tony S Yu
70461b4bc9
STY: Rename parameters for clarity
2012-12-13 17:26:37 -05:00
Tony S Yu
6fee0fbcfe
BUG: Fix line visibility
...
Line gets cleared when "enter" key is pressed. Make sure it's visible on a mouse press.
2012-12-13 14:30:02 -05:00
Tony S Yu
7dcb2df3fc
STY: Switch order of callback parameters
2012-12-13 14:29:14 -05:00
Tony S Yu
19e86ed661
BUG: Fix matplotlib import for compatibility
2012-12-13 13:51:29 -05:00
Tony S Yu
abc1d2095f
BUG: Fix file URI in test (2nd attempt)
2012-12-13 13:42:11 -05:00
Tony S Yu
04434b008f
BUG: Fix image viewer for RGB images
2012-12-13 10:39:11 -05:00
Tony S Yu
1aafdeb7d4
ENH: Overhaul callback system.
...
Remove `on_update` callback and add `on_move` and `on_release` callbacks arguments. Also, prefix callback functions with `callback_` for clarity.
2012-12-13 00:23:30 -05:00
Tony S Yu
631e97d973
ENH: Add rectangle tool and crop plugin example
2012-12-12 23:59:40 -05:00
Tony S Yu
36bc6da757
STY: Refactors general parts of line tool to base tool
2012-12-12 23:42:15 -05:00
Tony S Yu
cb30c24427
ENH: Add measure tool plugin
2012-12-12 21:46:08 -05:00
Tony S Yu
d06c7bcb34
STY: Rename line_tool module to linetool
2012-12-12 16:01:06 -05:00
Tony S Yu
67aada9adc
ENH: Increase default selection threshold for ease of use
2012-12-12 15:58:10 -05:00
Tony S Yu
ece045790e
STY: Remove reset functionality in line tool
...
Since a line can be draw without selecting handles, the reset functionality doesn't seem necessary.
2012-12-12 15:54:12 -05:00
Tony S Yu
bacc12e00a
ENH: Draw new line when click is far from handle
2012-12-12 15:50:49 -05:00
Tony S Yu
9f70148f08
STY: Minor code clean up
2012-12-12 15:48:45 -05:00
Tony S Yu
16a720770a
STY: Clean up unused blitting-related code
2012-12-12 13:34:53 -05:00
Tony S Yu
866e7d7d60
BUG: Fix blitting behavior
2012-12-12 11:45:02 -05:00
Tony S Yu
a6d4b6e7fa
BUG: Fix file separators for windows
2012-12-12 11:06:15 -05:00
Steven Silvester
73f5e9dccc
Fixed error in peak_snr, now uses float arithmetic throughout.
2012-12-11 23:14:30 -06:00
Juan Nunez-Iglesias
e3951a2a78
Rename ar_relabeled to relabeled for simplicity
2012-12-12 14:31:05 +11:00
Stefan van der Walt
7ebbdfd75f
Minor code cleanup.
2012-12-11 18:14:45 -08:00
Steven Silvester
9adae8b0c2
Fixed last remaining sig figure problem.
2012-12-11 18:57:24 -06:00
Steven Silvester
0e34c91e37
Changed all test to use 3 significant digits.
2012-12-11 18:08:27 -06:00
Steven Silvester
5444867fd0
Removed explicit io_plugin from test
2012-12-10 20:38:42 -06:00
Steven Silvester
bb4f2b96df
Modified test to pass with matplotlib plugin.
2012-12-10 20:37:01 -06:00
Tony S Yu
15b1ad4929
STY: Remove commented out code
2012-12-10 21:30:25 -05:00
Steven Silvester
ac09463cf8
Fixed comment header in test file.
2012-12-10 20:19:23 -06:00
Tony S Yu
0428f821e5
BUG: Fix background update when canvas resized
2012-12-10 21:18:50 -05:00
Tony S Yu
211bba0195
ENH: Default to blitting
...
Since the Qt4 Agg backend is always used, it's always safe to use blitting.
2012-12-09 21:11:06 -05:00
Tony S Yu
588fe29b57
BUG: Allow slider to accept key press events
2012-12-09 20:54:10 -05:00
Tony S Yu
ef2bb54c45
Fix figure canvas creation.
...
Avoid use of matplotlib's pyplot functions for creating figure canvases. In particular, key press events were ignored by the canvas.
2012-12-09 20:51:18 -05:00
Johannes Schönberger
33c58ad854
Fix some doc string formatting issues of random walker
2012-12-09 23:19:42 +01:00
Johannes Schönberger
a410f1c47e
UmfPack warning is now only raised if random walker is explicitly called
2012-12-09 23:17:06 +01:00
Johannes Schönberger
377ae3b968
Add test case for corner_peaks function
2012-12-09 18:26:09 +01:00
Johannes Schönberger
a7411bc678
Extend example of corner_peaks to highlight difference to peak_local_max
2012-12-09 18:21:31 +01:00