Commit Graph

1566 Commits

Author SHA1 Message Date
Tony S Yu f47312a3d1 API Change: Attach ImageViewer to Plugin after init.
Plugin is now added to the viewer using an inplace add on the viewer instead of on initialization of the plugin. This change means that operations requiring the viewer must be delayed until attach operation.
2012-07-23 00:12:21 -04:00
Tony S Yu 9d1df0c3ce Make alpha value to ClearColormap adjustable. 2012-07-22 22:11:33 -04:00
Tony S Yu 86b428952d ENH: Allow Plugin.add_widget to hook into Plugin attributes.
The `ptype` parameter of widget can now be set to 'plugin'. When this is the case, the plugin will set a plugin attribute whenever the widget is updated.

As an example, this commit adds a ComboBox widget which is hooked into the overlay color of the OverlayPlugin.
2012-07-22 13:24:41 -04:00
Tony S Yu 06449581bd ENH: Generalize add_widget function. 2012-07-22 02:26:03 -04:00
Tony S Yu 3271e210be ENH: Move closeEvent definition to base class. 2012-07-22 02:15:16 -04:00
Tony S Yu 385382f64a ENH: Simplify widget addition. 2012-07-22 02:11:56 -04:00
Tony S Yu 9b4c6222b5 ENH: Rename callback functions for clarity. 2012-07-22 02:08:16 -04:00
Tony S Yu 887a9119b2 ENH: Simplify creation of Slider widget. 2012-07-22 02:02:29 -04:00
Tony S Yu bc6c81606f Fix add_argument.
`arguments` is a list, but I was treating it like a dict.
2012-07-22 01:25:58 -04:00
Tony S Yu 31c2810dee ENH: Align image and plugin windows 2012-07-21 23:27:05 -04:00
Tony S Yu 4d747720de Change ImageViewer to automatically call plugins. 2012-07-21 22:03:46 -05:00
Tony S Yu 51711213f7 Move OverlayPlugin and PlotPlugin to their own modules. 2012-07-21 20:46:56 -05:00
Tony S Yu 48ac757ab8 Refactor image overlays to special plugin base class. 2012-07-21 20:29:43 -05:00
Tony S Yu 4739165b8c Add update_on parameter to slider and allow update on release. 2012-07-21 20:08:47 -05:00
Tony S Yu 221cf733d1 Add plugin names 2012-07-21 19:48:26 -05:00
Tony S Yu c21fe1c2f9 Show coordinate and intensity info in status bar. 2012-07-21 18:55:38 -05:00
Tony S Yu 9f0449e663 Add docstring for overlay and reorder methods. 2012-07-21 18:11:32 -05:00
Tony S Yu bd3ee78306 Delete overlay when deleting plugin. 2012-07-21 17:09:29 -05:00
Tony S Yu fb3f201a2a Clean up old code and add docstrings. 2012-07-21 17:08:19 -05:00
Tony S Yu 47d5f028e5 Fix: Move on_draw method to base Plugin 2012-07-20 18:19:37 -05:00
Tony S Yu afd33afc5e Add LineProfile plugin. 2012-07-20 17:52:01 -05:00
Tony S Yu 6b591e27a0 Add PlotPlugin and cleanup code. 2012-07-20 17:49:28 -05:00
Tony S Yu 1903ed892d API change: switch order of image viewer and callback arguments. 2012-07-20 14:45:32 -05:00
Tony S Yu c27119b0cd ENH: Add image viewer based on Qt and Matplotlib 2012-07-20 14:03:47 -05:00
Tony S Yu 81764f693b ENH: Add orientation kwarg to IntelligentSlider 2012-07-20 14:02:36 -05:00
Tony S Yu f6066539cc DOC: Add list of tasks for SciPy 2012 sprints 2012-07-19 14:17:36 -05:00
Stefan van der Walt a80388c995 PKG: Update Debian packaging instructions. 2012-07-17 17:37:08 -04:00
Stefan van der Walt 6e5c23e7fb Merge pull request #216 from ahojnnes/perimeter
ENH: Perimeter property measurement.
2012-07-16 11:13:33 -07:00
Johannes Schönberger c0c23968bf add perimeter measurement 2012-07-14 14:14:28 +02:00
Stefan van der Walt 94e290ce38 Merge pull request #214 from cgohlke/patch-1
BUG: Fix io.imsave() problems with passing arguments to plugin "freeimage".
2012-07-12 10:44:34 -07:00
cgohlke 8d313f1d57 Fix io.imsave() problems with passing arguments to plugin "freeimage" 2012-07-12 10:34:15 -07:00
Stefan van der Walt 1dcc172f60 TST: Check number of input angles in radon tf. 2012-07-09 11:29:37 -07:00
Stefan van der Walt 4d1809a63c BUG: Allow rgb2grey to be called on grey-level images. 2012-07-08 17:49:17 -07:00
Stefan van der Walt de74ee7879 Merge pull request #205 from amueller/pep8
COSMIT: PEP8 compatibility and other cleanups.
2012-06-29 02:33:43 -07:00
Andreas Mueller 46e959a9d9 COSMIT some manual pep8, removed unused imports, removed unused variables and fixed a bug in a ValueError statement. 2012-06-29 11:27:23 +02:00
Andreas Mueller d7f1a3abec COSMIT minor stype improvements, whitespace in error messages 2012-06-29 11:27:23 +02:00
Andreas Mueller f7c56202d0 COSMIT no spaces around power `**`. Fun: https://gist.github.com/1671995 2012-06-29 11:27:23 +02:00
Andreas Mueller 1251f77d6a COSMIT minor pep8 2012-06-29 11:27:23 +02:00
Andreas Mueller ee0fd867da COSMIT fix ugly line breaks. 2012-06-29 11:27:23 +02:00
Andreas Mueller 9f34c84f1a COSMIT don't let pep8 make your matrices ugly. 2012-06-29 11:27:23 +02:00
Andreas Mueller f7b3d8062c COSMIT pep8 2012-06-29 11:27:23 +02:00
Stefan van der Walt b891a7c9d1 DOC: Update release instructions. 2012-06-24 21:50:38 -07:00
Stefan van der Walt abb5cc10f7 PKG: Use different delimiter in contributors list. 2012-06-24 21:46:29 -07:00
Stefan van der Walt 249fa149ef PKG: Start 0.7 development cycle. 2012-06-24 21:46:12 -07:00
Stefan van der Walt 53426a0077 PKG: Update doc versions. v0.6 2012-06-24 21:37:05 -07:00
Stefan van der Walt 36a39249ee PKG: Update version to 0.6. 2012-06-24 21:36:28 -07:00
Stefan van der Walt 9731b872f2 DOC: Add 0.6 release notes. 2012-06-24 21:35:19 -07:00
Tony S Yu 9bcda27336 Skip test that fails for PIL < 1.1.7 2012-06-24 22:25:44 -04:00
tonysyu f487221c3a Merge pull request #208 from stefanv/io_reset
ENH: Allow resetting the plugin state.
2012-06-24 18:37:14 -07:00
tonysyu c4854e78f3 Merge pull request #119 from stefanv/ssim
ENH: Add structural similarity index and gradient.
2012-06-24 18:27:49 -07:00