Commit Graph

2372 Commits

Author SHA1 Message Date
Luke Campagnola
e740cb4b49 updated examples to use normal axis order, fixed a few ROI bugs 2016-08-23 09:06:43 -07:00
Luke Campagnola
bee5878915 Added imageAxisOrder config option
Added global config documentation
ROIs don't exactly work yet..
2016-08-23 09:06:43 -07:00
Nick Irvine
0e33ddc28b Allow MetaArray.__array__ to accept an optional dtype arg
Fixes #359
2016-07-20 16:47:07 -07:00
Luke Campagnola
e46be6ddec Remove axes from tests; these break CI tests. 2016-07-18 17:35:33 -07:00
Luke Campagnola
0172d7b1e4 Fix pixel error in image tests by preventing an extra plot window from opening (no idea why this happens) 2016-07-18 17:22:17 -07:00
Luke Campagnola
e36fca8f49 Update test data tag 2016-07-18 17:22:17 -07:00
Luke Campagnola
8b0c61ef01 Add ImageItem tests, fix image downsampling bug 2016-07-18 17:21:02 -07:00
Luke Campagnola
08b93dce82 minor corrections 2016-07-18 09:13:06 -07:00
Luke Campagnola
0d131e4be4 Remove axes in ROI tests (these cause travis failures) 2016-07-18 08:13:25 -07:00
Luke Campagnola
f32dce7908 Avoid using QGraphicsLayout for tests; this produces unreliable results 2016-06-16 17:34:39 -07:00
Luke Campagnola
f0071a09dc docstring update 2016-06-14 22:02:05 -07:00
Luke Campagnola
637eab8359 Add debugging output for image testing 2016-06-14 21:56:25 -07:00
Luke Campagnola
230659a4db Allow Qt lib selection from environment variable for testing
Cover up some QtTest differences between PyQt4 / PyQt5
2016-06-05 00:48:13 -07:00
Luke Campagnola
2e59cd63cb Fix image test makePng function 2016-06-05 00:15:51 -07:00
Luke Campagnola
49d5543fa5 travis fix 2016-05-30 20:28:59 -07:00
Luke Campagnola
8f7b55302f Added PolyLineROI unit tests, fixed several bugs in mouse interaction with PolyLineROI. 2016-05-30 18:00:19 -07:00
Felix Schill
0a25fb0874 clearing _needUpdate flag in GLImageItem to prevent redundant re-upload of textures 2016-05-21 17:50:05 +02:00
Luke Campagnola
bb507cf6d0 ROI tests pass
FIX: PolyLineROI.setPoints() did not clear points previously
API: Allow ROI.setPos(x, y) in addition to setPos([x, y])
2016-05-17 18:04:52 -07:00
Luke Campagnola
ccf2ae4db4 Fix PolyLineROI.getArrayRegion and a few other bugs 2016-05-13 23:30:52 -07:00
Luke Campagnola
d4cc2e8b5d Add getArrayRegion tests for ROI, RectROI, and EllipseROI 2016-05-09 09:00:58 -07:00
Luke Campagnola
5c58448658 minor ROI corrections 2016-05-09 09:00:41 -07:00
Luke Campagnola
b4e41012d8 Correct color handling in test images 2016-05-09 08:56:21 -07:00
Soloviev Denis
bc3acdd5fd fix legendItem drag 2016-05-04 21:53:55 +05:00
lidstrom83
edce25b3ce Set parameter default button's autoDefault value to False.
Makes dialogs containing parameter trees behave more intuitively.
2016-05-03 17:13:46 -06:00
lidstrom83
5322c0233b Fix bug where int and float parameter limits are not always set. 2016-05-03 12:25:05 -06:00
Eric Dill
670d63cdf4 Merge pull request #327 from lidstrom83/InfLineLabel.setFormat_fix
Made InfLineLabel.setFormat actually set the format string.
2016-05-03 13:11:28 -04:00
lidstrom83
bb44a3387a Made InfLineLabel.setFormat actually set the format string. 2016-05-03 10:38:44 -06:00
Luke Campagnola
2ab52808d3 added simple roi tests (these do not check output) 2016-05-03 09:20:23 -07:00
Eric Dill
1acb8accbd Merge pull request #326 from rlegnain/develop
Added  "self.moving = False" in  InfLineLabel class
2016-05-03 11:06:29 -04:00
Legnain
b4b1aec162 Added "self.moving = False" in InfLineLabel class
Added  "self.moving = False" in  InfLineLabel class to solve the error message when clicking on the label.

    |  AttributeError: 'InfLineLabel' object has no attribute 'moving'
2016-05-03 04:54:21 -04:00
Luke Campagnola
c599635319 Merge pull request #305 from cboulay/MetArr_PrettierPrinting
MetaArray: PrettyInfo for all axes, not skipping last axis.
2016-04-24 14:30:09 -07:00
Chadwick Boulay
5a21d59538 A few small style changes to MetaArray.py 2016-04-24 13:38:19 -04:00
Chadwick Boulay
2eca4ed775 Set MetaArray._info after modifications during MetaArray.checkInfo().
Update MetaArray.prettyInfo() to print empty axes. Also fixed some spacing issues when number of elements had more digits in some axes than others (up to 5 digits).
2016-04-24 13:20:10 -04:00
Luke Campagnola
70626624ca Merge pull request #309 from ixjlyons/fix-issue257
Encode QPropertyAnimation property name if not passed as bytes.
2016-04-21 20:34:56 -07:00
Kenneth Lyons
9e4443cc68 More detailed comment. 2016-04-21 12:02:49 -07:00
Luke Campagnola
f49554d063 Merge pull request #304 from cboulay/osx_mremap
OSX RemoteGrahpics.py: Add shared mem file open and close to get around no mremap.
2016-04-21 00:35:31 -07:00
Luke Campagnola
6096926ea9 Merge pull request #281 from lionel-martin/colormap_positions
Fixing order of positions in colormap
2016-04-21 00:34:45 -07:00
Luke Campagnola
dffc2d4e3e Merge pull request #300 from ericdill/graphics-view-inheritance
MNT: Call close() up the inheritance chain
2016-04-21 00:33:27 -07:00
Eric Dill
d67d2c6d62 Merge pull request #308 from ixjlyons/fix-issue260
Fix opt name for SpinBox: range -> bounds.
2016-04-12 12:55:21 -04:00
Kenneth Lyons
9b450b297f Encode QPropertyAnimation property name if not passed as bytes. 2016-04-11 21:37:27 -07:00
Kenneth Lyons
3ec02d0662 Fix opt name for SpinBox: range -> bounds. 2016-04-11 21:05:21 -07:00
Luke Campagnola
63d12c1caa Merge pull request #287 from ales-erjavec/qt5-fix
Qt5 compatifility fixes
2016-04-04 13:06:32 -07:00
Luke Campagnola
eb625776c9 Merge branch 'meganbkratz-ImageViewWork' into develop 2016-04-02 23:28:33 -07:00
Luke Campagnola
0d2bd107b3 Use colormap with better perceptual contrast 2016-04-02 23:27:20 -07:00
Luke Campagnola
5e420fe100 Merge branch 'ImageViewWork' of https://github.com/meganbkratz/pyqtgraph into meganbkratz-ImageViewWork 2016-04-02 22:30:19 -07:00
Chadwick Boulay
a8d3aad97a Add darwin-specific shared mem file open and close in RemoteGraphicsView.py to account for lack of mremap on platform. 2016-03-29 18:24:16 -04:00
Eric Dill
90d6c9589c MNT: Call close on the mro for ImageView 2016-03-28 08:18:09 -04:00
Eric Dill
1a22ce3c04 MNT: Call close() up the inheritance chain 2016-03-28 08:14:24 -04:00
Luke Campagnola
0ac914fae7 Merge pull request #291 from lesauxvi/textitem
slight changes in TextItem
2016-03-27 23:13:28 -07:00
Eric Dill
fbff457168 Merge pull request #302 from WayneTimer/fix-color-error
fix a color name error
2016-03-27 13:40:52 -04:00