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
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
15b1ad4929
STY: Remove commented out code
2012-12-10 21:30:25 -05: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
Tony S Yu
9d653fec78
BUG: Clean up imports
2012-11-15 23:53:47 -05:00
Tony S Yu
0d411e21dc
STY: Refactor parts of LineTool to CanvasToolBase
2012-11-15 22:04:02 -05:00
Tony S Yu
d219a76f58
BUG: Fix blitting behavior in canvastools
2012-11-15 21:56:51 -05:00
Tony S Yu
5be5813070
STY: Reuse ThickLineTool in LineProfile
2012-11-15 00:16:19 -05:00
Tony S Yu
2ff3e78c52
BUG: Move callback connection to parent class
2012-11-15 00:16:19 -05:00
Tony S Yu
4f6f25efe9
ENH: Add canvastools subpckages with base class and line tools
2012-11-15 00:16:19 -05:00
Johannes Schönberger
80a9a5aba5
Apply numpy reference style to rank filter descriptions
2012-11-14 08:33:27 +01:00
Johannes Schönberger
2403bee27c
Merge pull request #348 from odebeir/rank_filters
...
Rank filters
2012-11-13 23:30:12 -08:00
Olivier Debeir
70f2b67ef7
fix: ref and test_otsu doc
2012-11-14 08:00:59 +01:00
Olivier Debeir
698d6ae13f
fix:< Py_ssize_t > 0 and & pop
2012-11-13 17:07:21 +01:00
Olivier Debeir
411d4686d5
fix:wrap lines in tests
2012-11-13 17:02:08 +01:00
Olivier Debeir
f133158792
autopep8 for plot_* and rank sources
2012-11-13 09:37:58 +01:00
Olivier Debeir
114f3a84f3
Merge pull request #2 from ahojnnes/rank-filters
2012-11-12 22:25:27 -08:00
Johannes Schönberger
af55d712ee
PEP8 fixes for long rank filter example
2012-11-12 20:10:56 +01:00