Commit Graph

9 Commits

Author SHA1 Message Date
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