Tony S Yu
d3edd350f9
ENH: Add open and save menu actions
2012-12-23 16:19:03 -08: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
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
Andreas Mueller
6c59e04714
MISC remove unused imports, some pep8 corrections.
2012-09-27 20:01:45 +01:00
Tony S Yu
fe41023370
STY: Refactor initialization of QApplication.
2012-09-04 22:07:25 -04:00
Tony S Yu
be33941701
Change error to warning so that autodoc doesn't fail.
2012-08-25 12:11:46 -04:00
Tony S Yu
b14514e018
BUG: Fix nosetest and autodoc errors when PyQt4 not available
...
nose and autodoc imports the viewer modules so all PyQt4 imports must be wrapped in a try-except block. In addition, any classes derived from PyQt4 must be proxied since the class definition are run on import. This is really hacky.
2012-08-25 12:06:03 -04:00
Tony S Yu
54af4176dd
ENH: Add RequiredAttr to raise warnings when attr not set.
2012-08-03 20:45:01 -04:00
Tony S Yu
539b12dc2c
STY: Refactor MatplotlibCanvas from ImageCanvas and PlotCanvas.
2012-07-27 21:57:46 -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
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