Commit Graph
6531 Commits
Author SHA1 Message Date
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
Steven Silvester b5f9cf269f Merge pull request #1 from stefanv/adapthist_doc
Minor adapthist cleanup.
2012-12-11 20:05:48 -08:00
Juan Nunez-Iglesias 82c3526f30 Tweak join_segmentations example for clarity 2012-12-12 14:37:43 +11: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
Stefan van der Walt 530fbbb2fc DOC: Minor clean-ups of equalization demo. 2012-12-11 17:49:11 -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
Stefan van der Walt 56ddd129e3 Merge pull request #388 from ahojnnes/umfpack-warning
ENH: Suppress UMFpack warning on random walker import.
2012-12-10 19:10:34 -08: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
Tony S Yu a6042bb0f3 Merge pull request #387 from ahojnnes/peak-det
Fix confused parameters in doc string of peak_local_max
2012-12-09 09:37:33 -08:00
Tony S Yu bd9dab0092 Merge pull request #386 from ahojnnes/dependecy-check
Fix dependency check in setup
2012-12-09 09:35:48 -08: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
Johannes Schönberger 60c8e95905 Add function to detect corner peaks as a wrapper to peak_local_max 2012-12-09 18:14:36 +01:00
Johannes Schönberger 81c01eac0f Fix confused parameters in doc string of peak_local_max 2012-12-09 17:39:15 +01:00
Johannes Schönberger 04fbee189e Remove unused array 2012-12-09 17:34:13 +01:00
Johannes Schönberger b22d570ff9 Add comments and rename variables for better readability 2012-12-09 17:34:13 +01:00