Commit Graph

17 Commits

Author SHA1 Message Date
Tony S Yu 6239ab23b1 Merge pull request #810 from jni/viewer-returns-overlays
WIP: Viewer returns overlays
2013-11-18 18:31:03 -08:00
Juan Nunez-Iglesias 4e05ebf711 Incorporate @tonysyu's suggestions re:docstrings 2013-11-01 15:10:30 +11:00
Juan Nunez-Iglesias fae2456b49 Allow OverlayPlugin to return the current overlay 2013-10-31 14:52:01 +11:00
Stefan van der Walt eb6867cfe2 Make six an external dependency. 2013-10-27 14:06:26 +02:00
Stefan van der Walt a1adfa8d54 Correctly check for string type. 2013-06-29 10:17:41 -05:00
Tony S Yu afd1b1b835 Fix display of overlay plugin when original image is updated 2013-06-08 19:24:50 -05:00
Tony S Yu 0e08acd7c9 ENH: Warn if using OverlayPlugin w/ matplotlib < 1.2 2012-12-16 22:56:04 -05:00
Tony S Yu 9bf512da8b ENH: Allow Save buttons to save overlay
Closes Github #264
2012-12-15 09:32:26 -05:00
Tony S Yu 2c84a2135f Remove custom dtype range
Bool support was added in gh-#260
2012-08-24 22:36:20 -04:00
Tony S Yu b6045a8d5f BUG: Fix behavior when initial overlay limits are bad.
Intensity limits are calculated by the initial input image. If this image has, for example, all black pixels, then subsequent overlays will remain all black because of the initialized limits. Set limits based on data type to fix this issue.
2012-07-28 00:13:33 -04:00
Tony S Yu d72baa484f STY: reorder methods for clarity. 2012-07-25 00:32:26 -04:00
Tony S Yu 260a336eb9 ENH: allow color to be set by name 2012-07-25 00:31:08 -04:00
Tony S Yu 0e8f444fbb ENH: Display overlay by default 2012-07-24 00:28:37 -04:00
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 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 3271e210be ENH: Move closeEvent definition to base class. 2012-07-22 02:15:16 -04:00
Tony S Yu 51711213f7 Move OverlayPlugin and PlotPlugin to their own modules. 2012-07-21 20:46:56 -05:00