Johannes Schönberger
153bc6edf9
Use None instead of 'none' for qt backend
2013-05-29 20:28:16 +02:00
Johannes Schönberger
255ac68999
Avoid import of matplotlib QT lib if QT is not installed
2013-05-29 20:17:17 +02:00
Tony S Yu
bd860b7720
Add infrastructure for conneting plugin output to a viewer.
2013-05-28 23:52:10 -05:00
Tony S Yu
e7ca4b6138
Fix parameter name in docstring
2013-05-28 23:51:53 -05:00
Tony S Yu
124e38751c
Fix RequiredAttrs definition.
...
The example in python's descriptor tutorial creates a singleton so multiple,
instances share the same attribute. This update fixes the issue based on [1].
[1] http://stackoverflow.com/questions/8718052/where-does-a-python-descriptors-state-go
2013-05-28 23:34:52 -05:00
Tony S Yu
d183cce16c
Remove alignment kwarg (left out from previous commit).
2013-05-26 18:28:12 -05:00
Tony S Yu
a49502a7b1
Remove alignment kwarg for compatibility with older PyQt4
2013-05-26 14:05:02 -05:00
Tony S Yu
3baa7fe8f3
Fix file open dialog for PySide
2013-05-19 22:58:04 -05:00
tonysyu
c7fa6206cf
Add PySide compatibility for save dialogs
2013-05-17 17:12:52 -05:00
Tony S Yu
a5d42a3940
Add skimage.viewer.qt wrapper.
...
This allows the viewer to use either PyQt4 or PySide as the toolkit.
2013-05-17 16:22:17 -05:00
Tony S Yu
84cf9430de
Fix alpha handling for image saving.
2013-02-24 08:57:27 -06:00
Tony S Yu
230fefa748
ENH: Improve usability of watershed_demo.
...
* Replace 0 label with 'Erase'
* Use OK button instead of enter key to calculate watershed.
2013-01-24 21:47:42 -06:00
Tony S Yu
f517eaa0e7
ENH: Cast arrays for numpy compatibility.
...
The casting rules in newer versions of numpy are stricter, so ensure that we have a compatible data type.
2012-12-29 18:21:49 -05:00
Steven Silvester
103bd96a3b
ENH: Adjusted save_to_file to create a proper composite image
2012-12-28 18:24:29 -06:00
Tony S Yu
9c4eb3a6fc
Use print function for python 3 compatibility
2012-12-26 22:21:24 -08:00
Tony S Yu
df916713f5
ENH: Add PaintTool and LabelPlugin
2012-12-26 22:03:59 -08:00
Tony S Yu
16f159fb3e
ENH: Remove unnecessary clean up functions.
...
Connecting matplotlib events are now the responsibility of canvastools, not the viewer.
2012-12-26 21:41:03 -08:00
Tony S Yu
6c1b969b21
BUG: Fix clean up of canvastools
...
NOTE: The rectangle tool doesn't seem to clean up properly.
2012-12-26 21:39:39 -08:00
Tony S Yu
d3edd350f9
ENH: Add open and save menu actions
2012-12-23 16:19:03 -08:00
Tony S Yu
06a8e7af85
BUG: Fix save to stack so it saves filtered image
2012-12-19 14:07:42 -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
23d24862ec
Merge pull request #2 from blink1073/canvastools
...
BUG: Canvastools buttons inappropriately take focus
2012-12-16 19:17:19 -08:00
Tony S Yu
9c88dd8644
ENH: Let CannyPlugin adapt to input image
...
Add `dtype_limits` helper function.
2012-12-16 22:15:11 -05:00
Steven Silvester
1fd4042ee6
BUG: Added required QtCore import
2012-12-16 21:00:57 -06:00
Steven Silvester
70f1e6dd48
BUG: Remove focus from buttons which caused unintential clicking.
2012-12-16 20:56:03 -06: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
ea0821ff93
BUG: Validate mouse interaction
...
Fixes error messages when mouse moved out of axes, plus a few other issues
2012-12-15 09:28:41 -05:00
Tony S Yu
244e68c232
BUG: fix end_points setter when given a tuple
...
Dragging of end points was broken.
2012-12-15 09:27:07 -05:00
Tony S Yu
6704285859
BUG: Fix MRO bug when matplotlib not installed
2012-12-14 10:01:52 -05:00
Tony S Yu
2532c659ec
BUG: Fix error when matplotlib is not available
2012-12-13 23:40:33 -05:00
Tony S Yu
829479512f
BUG: Update measure for change in line_tool API
2012-12-13 22:26:26 -05:00
Tony S Yu
1a199b4405
ENH: Improve end_points setter
2012-12-13 22:25:53 -05:00
Tony S Yu
78e1efefcb
ENH: Add setter for extents property
2012-12-13 21:52:32 -05:00
Tony S Yu
2e7e92f536
STY: Simplify imports
2012-12-13 21:31:54 -05:00
Tony S Yu
34de6d323a
BUG: Fix line thickness change call back
2012-12-13 21:21:36 -05:00
Tony S Yu
25b9f5d5aa
BUG: Fix LineTool example after change to call signature
...
x, y parameters were removed for simplicity, but example wasn't updated
2012-12-13 21:12:35 -05:00
Tony S Yu
260984c018
DOC: Add parameters to docstring
2012-12-13 21:11:53 -05:00
Tony S Yu
e5dfb8c7ac
STY: Remove linewidth parameter to simplify API
2012-12-13 20:56:27 -05:00
Tony S Yu
3fab96fb09
STY: Rename end_pts to end_points
2012-12-13 20:49:58 -05:00
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
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