Commit Graph
68 Commits
Author SHA1 Message Date
sccolbert efbaa849dd added histograms to fancy imshow and colormixer.
Unfortunately im suffering from circular references when the window is
initializing. It doesnt crash, but it throws a few exceptions...
A refactor is in order.
2009-11-06 02:24:03 +01:00
sccolbert 93fb7de121 Finalized HSV support in the color-mixer and fixed a few subtle bugs therein.
Updated the fancy imshow widget some more.
2009-11-05 01:36:08 +01:00
sccolbert f4a042177f added HSV operations to the ColorMixer and fancy imshow. 2009-11-04 23:10:36 +01:00
sccolbert 5b3ff5306c fixed an alignment centering bug. 2009-11-04 21:10:14 +01:00
sccolbert 186eee357a added slider value labels and fixed their layout a little. 2009-11-04 21:03:22 +01:00
sccolbert eed8d6f23f fixed a bug in slider signal connection. 2009-11-04 19:53:42 +01:00
sccolbert 0216fb6094 Modified the fancy imshow widget, and added brightness control to the mixer. 2009-11-04 17:27:07 +01:00
Stefan van der Walt 9ab169a25d io: Add tests for colormixer. 2009-11-04 07:47:07 +02:00
Stefan van der Walt d89e577c87 io: Document colour mixer. 2009-11-04 07:46:52 +02:00
Stefan van der Walt 51a1832d97 io: Add setup files for colour mixer. 2009-11-04 07:45:58 +02:00
sccolbert 663738ab79 added the beginnings of the color mixes, and improved fancy imshow for qt 2009-11-04 02:28:57 +01:00
sccolbert b00566a52c fixed event flow order for fancy imshow 2009-11-03 21:53:30 +01:00
sccolbert da8ff125c4 beginning of qt fancy imshow 2009-11-03 20:01:22 +01:00
Stefan van der Walt eec6a77ebb io: Combine use_plugin and load_plugin. 2009-11-03 10:20:59 +02:00
Stefan van der Walt 0a1056bd16 io: Add table of available plugins to module docstring. 2009-11-03 10:01:46 +02:00
Stefan van der Walt 573f1039fb io: Track meta-data on plugins. 2009-11-03 10:01:24 +02:00
Stefan van der Walt 899497d0e0 io: Add plugin descriptions. 2009-11-03 10:00:30 +02:00
Stefan van der Walt 02d8bc500e io: Allow plugin names that don't end on _plugin. 2009-11-03 01:12:41 +02:00
Stefan van der Walt 1822e07a12 io: Clean up 'available' according to Chris's review. 2009-11-03 01:07:30 +02:00
Stefan van der Walt 447397dfa3 Describe plugins using .ini files, so that we don't need to import them to know their capabilities. 2009-11-03 00:09:31 +02:00
Stefan van der Walt bcea97c5d6 Add tests for window manager. 2009-11-02 21:57:31 +02:00
Stefan van der Walt c0ad658822 Add tests for prepare_for_display. 2009-11-02 21:41:52 +02:00
Stefan van der Walt edaa44b59b Minor text cleanups. 2009-11-02 21:16:31 +02:00
sccolbert 03b99a8389 removed the block= kwarg in the qt_plugin that i missed previously 2009-11-02 19:43:40 +01:00
sccolbert 819150e726 removed the wx_plugin until which point wx supports pyos_inputhook 2009-11-02 19:35:53 +01:00
sccolbert 6f18eed4e0 cleaned up the window manager, and modified the qt-plugin to use it.
also changed the order of try: except: when trying to load the plugins,
to make sure that one gui toolkit doesnt trample the pyos_input hook of the other.
2009-11-02 18:42:12 +01:00
sccolbert 5a17a208d0 cleaned up the gtk plugin and window manager. rock and roll! 2009-11-02 17:50:00 +01:00
sccolbert fdea274262 Added the beginning of the gtk imshow plugin. And added the generic window manager. 2009-11-02 17:23:41 +01:00
Stefan van der Walt ebe36d94d4 Import PIL plugin using load_plugin. 2009-11-02 02:06:30 +02:00
Stefan van der Walt 27a516c0de Second part of I/O infrastructure reorganisation. 2009-11-02 01:49:47 +02:00
Stefan van der Walt 6b7aebb563 Reorganise plugin infrastructure. 2009-11-02 01:47:25 +02:00
Stefan van der Walt 308e76fb9c Fix q4thread typo. 2009-11-01 23:58:25 +02:00
Stefan van der Walt 4df00cb005 io: qt4: Use prepare_for display. Add demo snippet. 2009-11-01 23:19:49 +02:00
Stefan van der Walt c52453ef90 Rather use global than list to track app. 2009-11-01 23:16:08 +02:00
Stefan van der Walt 91cea8dcff Add Chris's plugin utility converter and wxpython plugin. 2009-11-01 23:08:49 +02:00
Stefan van der Walt bdcce9123a io: qt4 plugin: allow multiple images to be displayed. Keep track of Windows so that they don't get deallocated before they are closed. 2009-11-01 23:05:42 +02:00
Stefan van der Walt 2eb28f4e85 Add QT4 image display plugin. 2009-11-01 18:51:45 +02:00
Stefan van der Walt 3f9678caf7 Merge plugin branch. 2009-11-01 17:55:45 +02:00
Stefan van der Walt 940f318b31 Remove plugin functionality from io.py. Implement setting default plugins and querying the plugins available. 2009-11-01 12:38:36 +02:00
Stefan van der Walt e7d6875cab Document _call_plugin. 2009-11-01 12:37:17 +02:00
Stefan van der Walt cdb1a1560f Restore plugin registry after testing. 2009-11-01 11:56:21 +02:00
Stefan van der Walt a7b17bb21b Add tests for IO plugins. 2009-11-01 11:46:12 +02:00
Stefan van der Walt 9bec0ef888 Plugin framework for image I/O. 2009-10-31 21:10:27 +02:00
Ralf Gommers a6ad7415d7 Minor changes to Tony Yu's palette_is_grayscale. 2009-10-31 18:37:04 +01:00
Tony 56833384e1 Add test for palette_is_grayscale 2009-10-31 11:59:20 -04:00
Tony 8077c2b206 Fix imread so palette images are converted to grayscale or RGB images 2009-10-31 11:55:46 -04:00
Ralf Gommers 060916cd42 Bug fix for imread so images that are already grey-scale do not get flattened. 2009-10-21 16:39:48 +02:00
Stefan van der Walt d9c206b625 Set plot directory prefix. 2009-10-14 07:08:13 +02:00
Ralf Gommers 7175d7c187 Add support for MPL plots in the docs.
Both inline plots and plots from script files work.

Some things to keep in mind:
- for including scripts from docstrings, use prefix  "../plots/",
  for including scripts in a rst file, use "plots/".
  This is due to the docs being generated from the source/api folder.
- inline plots are not (yet) aware of variables being defined earlier
  in the Examples section.
- we now use the numpydoc sphinx extensions, the original MPL ones can not
  be used because they have no support for the make file and conf.py not
  being in the same folder.

There is one minor thing that does not work yet. The source code link for
plots does not work because for some reason the script files are not
copied to the build dir.
2009-10-14 00:30:07 +02:00
Ralf Gommers 03bd107368 Add a few docstrings. 2009-10-13 15:13:30 +02:00